Stop skill cast and movement when teleporting.
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user