mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix NPE in PartyMember
This commit is contained in:
parent
043fb626e0
commit
4d7af5ded6
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ namespace Dalamud.Game.ClientState.Actors.Types
|
|||
Actor = null;
|
||||
for (var i = 0; i < table.Length; i++)
|
||||
{
|
||||
if (table[i].ActorId == rawData.actorId)
|
||||
if (table[i] != null && table[i].ActorId == rawData.actorId)
|
||||
{
|
||||
Actor = table[i];
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue