From cfa180a505603b5117d84c4ef4462163d16b9ee8 Mon Sep 17 00:00:00 2001 From: goaaats Date: Mon, 31 Jan 2022 16:55:42 +0100 Subject: [PATCH] fix(DTR): check collision ResNode for null to prevent NRE during login --- Dalamud/Game/Gui/Dtr/DtrBar.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Dalamud/Game/Gui/Dtr/DtrBar.cs b/Dalamud/Game/Gui/Dtr/DtrBar.cs index 9f6d56b98..2e6174993 100644 --- a/Dalamud/Game/Gui/Dtr/DtrBar.cs +++ b/Dalamud/Game/Gui/Dtr/DtrBar.cs @@ -137,6 +137,7 @@ namespace Dalamud.Game.Gui.Dtr // The collision node on the DTR element is always the width of its content var collisionNode = dtr->UldManager.NodeList[1]; + if (collisionNode == null) return; var runningXPos = collisionNode->X; var configuration = Service.Get();