diff --git a/src/main/java/net/minestom/server/entity/Entity.java b/src/main/java/net/minestom/server/entity/Entity.java index 36cb4d7a8..bb74be4f2 100644 --- a/src/main/java/net/minestom/server/entity/Entity.java +++ b/src/main/java/net/minestom/server/entity/Entity.java @@ -1343,7 +1343,8 @@ public class Entity implements Viewable, Tickable, Schedulable, Snapshotable, Ev lastSyncedPosition, onGround), this); } else if (viewChange) { PacketUtils.prepareViewablePacket(chunk, new EntityHeadLookPacket(getEntityId(), position.yaw()), this); - PacketUtils.prepareViewablePacket(chunk, new EntityRotationPacket(getEntityId(), position.yaw(), position.pitch(), onGround), this); + PacketUtils.prepareViewablePacket(chunk, EntityPositionAndRotationPacket.getPacket(getEntityId(), position, + lastSyncedPosition, isOnGround()), this); } this.lastSyncedPosition = position; }