forked from MagicBane/Server
player location sync
This commit is contained in:
@@ -66,14 +66,6 @@ public enum MovementManager {
|
||||
if (!toMove.isAlive())
|
||||
return;
|
||||
|
||||
if (toMove.getObjectType().equals(GameObjectType.PlayerCharacter)) {
|
||||
if (((PlayerCharacter) toMove).isCasting()) {
|
||||
((PlayerCharacter) toMove).updateLocation();
|
||||
((PlayerCharacter) toMove).updateMovementState();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
toMove.setIsCasting(false);
|
||||
toMove.setItemCasting(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user