forked from MagicBane/Server
fix location desync caused by power casting
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user