Clear pet data when dismount.

This commit is contained in:
MobiusDev
2018-05-15 14:22:59 +00:00
parent 7014a1ebed
commit 5dd6dcd18a
7 changed files with 7 additions and 0 deletions

View File

@ -6121,6 +6121,7 @@ public final class L2PcInstance extends L2Playable
final int petId = _mountNpcId;
setMount(0, 0);
stopFeed();
clearPetData();
if (wasFlying)
{
removeSkill(CommonSkill.WYVERN_BREATH.getSkill());