Fixed PetInfo NPE related with PlayerInstance.
This commit is contained in:
@@ -10428,7 +10428,7 @@ public class PlayerInstance extends Playable
|
|||||||
s.setFollowStatus(true);
|
s.setFollowStatus(true);
|
||||||
s.setInstance(getInstanceWorld());
|
s.setInstance(getInstanceWorld());
|
||||||
s.updateAndBroadcastStatus();
|
s.updateAndBroadcastStatus();
|
||||||
sendPacket(new PetInfo(_pet, 0));
|
sendPacket(new PetInfo(s, 0));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Show movie if available.
|
// Show movie if available.
|
||||||
|
|||||||
@@ -10495,7 +10495,7 @@ public class PlayerInstance extends Playable
|
|||||||
s.setFollowStatus(true);
|
s.setFollowStatus(true);
|
||||||
s.setInstance(getInstanceWorld());
|
s.setInstance(getInstanceWorld());
|
||||||
s.updateAndBroadcastStatus();
|
s.updateAndBroadcastStatus();
|
||||||
sendPacket(new PetInfo(_pet, 0));
|
sendPacket(new PetInfo(s, 0));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Show movie if available.
|
// Show movie if available.
|
||||||
|
|||||||
Reference in New Issue
Block a user