Fixed PetInfo NPE related with PlayerInstance.
This commit is contained in:
parent
c698a71d92
commit
bbec290e5d
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user