player location sync

This commit is contained in:
2025-03-18 20:18:10 -05:00
parent dbe748bcdd
commit b2038e201c
3 changed files with 8 additions and 12 deletions
@@ -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);