mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Add yet another check to NamePlateUpdateHander.GameObject
This commit is contained in:
parent
81e5793150
commit
417fe39cd9
1 changed files with 3 additions and 0 deletions
|
|
@ -340,6 +340,9 @@ internal unsafe class NamePlateUpdateHandler : INamePlateUpdateHandler
|
|||
return null;
|
||||
}
|
||||
|
||||
if (this.ArrayIndex >= this.context.Ui3DModule->NamePlateObjectInfoCount)
|
||||
return null;
|
||||
|
||||
var objectInfoPtr = this.context.Ui3DModule->NamePlateObjectInfoPointers[this.ArrayIndex];
|
||||
if (objectInfoPtr.Value == null) return null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue