Stop skill cast and movement when teleporting.

This commit is contained in:
MobiusDevelopment
2019-10-09 09:37:22 +00:00
parent 8cfb603ada
commit db81731330
2 changed files with 4 additions and 0 deletions

View File

@@ -77,6 +77,8 @@ public class ExRequestTeleport implements IClientIncomingPacket
} }
} }
player.abortCast();
player.stopMove(null);
player.teleToLocation(teleport.getX(), teleport.getY(), teleport.getZ()); player.teleToLocation(teleport.getX(), teleport.getY(), teleport.getZ());
} }
} }

View File

@@ -77,6 +77,8 @@ public class ExRequestTeleport implements IClientIncomingPacket
} }
} }
player.abortCast();
player.stopMove(null);
player.teleToLocation(teleport.getX(), teleport.getY(), teleport.getZ()); player.teleToLocation(teleport.getX(), teleport.getY(), teleport.getZ());
} }
} }