diff --git a/src/main/java/net/minestom/server/entity/Entity.java b/src/main/java/net/minestom/server/entity/Entity.java index 4929b37f5..cf063039b 100644 --- a/src/main/java/net/minestom/server/entity/Entity.java +++ b/src/main/java/net/minestom/server/entity/Entity.java @@ -523,6 +523,9 @@ public class Entity implements Viewable, Tickable, EventHandler, Da // Apply the position if changed if (!finalVelocityPosition.samePoint(position)) { refreshPosition(finalVelocityPosition, true); + if (!isNettyClient) { + synchronizePosition(true); + } } // Update velocity @@ -548,10 +551,6 @@ public class Entity implements Viewable, Tickable, EventHandler, Da } } - // Synchronization and packets... - if (!isNettyClient) { - synchronizePosition(true); - } // Verify if velocity packet has to be sent if (hasVelocity() || (!isNettyClient && gravityTickCount > 0)) { sendPacketToViewersAndSelf(getVelocityPacket());