Fixed PetInfo NPE related with PlayerInstance.

This commit is contained in:
MobiusDevelopment 2021-06-13 22:41:10 +00:00
parent c698a71d92
commit bbec290e5d
2 changed files with 2 additions and 2 deletions

View File

@ -10428,7 +10428,7 @@ public class PlayerInstance extends Playable
s.setFollowStatus(true);
s.setInstance(getInstanceWorld());
s.updateAndBroadcastStatus();
sendPacket(new PetInfo(_pet, 0));
sendPacket(new PetInfo(s, 0));
});
// Show movie if available.

View File

@ -10495,7 +10495,7 @@ public class PlayerInstance extends Playable
s.setFollowStatus(true);
s.setInstance(getInstanceWorld());
s.updateAndBroadcastStatus();
sendPacket(new PetInfo(_pet, 0));
sendPacket(new PetInfo(s, 0));
});
// Show movie if available.