fix location desync caused by power casting

This commit is contained in:
2025-03-11 20:00:44 -05:00
parent f4361113ed
commit 3561564f8c
2 changed files with 5 additions and 2 deletions
@@ -107,6 +107,9 @@ public enum MovementManager {
// ((Mob)toMove).updateLocation();
// get start and end locations for the move
Vector3fImmutable startLocation = new Vector3fImmutable(msg.getStartLat(), msg.getStartAlt(), msg.getStartLon());
//if(toMove.isMoving()){
// startLocation = toMove.getMovementLoc();
//}
Vector3fImmutable endLocation = new Vector3fImmutable(msg.getEndLat(), msg.getEndAlt(), msg.getEndLon());
// if (toMove.getObjectType() == GameObjectType.PlayerCharacter)