mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 06:47:44 +01:00
Fix DTR Null Reference on first login
This commit is contained in:
parent
dc54f040b9
commit
3b5995e6ab
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ public sealed unsafe class DtrBar : IDisposable, IServiceType, IDtrBar
|
||||||
this.HandleAddedNodes();
|
this.HandleAddedNodes();
|
||||||
|
|
||||||
var dtr = this.GetDtr();
|
var dtr = this.GetDtr();
|
||||||
if (dtr == null) return;
|
if (dtr == null || dtr->RootNode == null || dtr->RootNode->ChildNode == null) return;
|
||||||
|
|
||||||
// The collision node on the DTR element is always the width of its content
|
// The collision node on the DTR element is always the width of its content
|
||||||
if (dtr->UldManager.NodeList == null) return;
|
if (dtr->UldManager.NodeList == null) return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue