diff --git a/SpigotCore/SpigotCore_Main/src/de/steamwar/entity/REntity.java b/SpigotCore/SpigotCore_Main/src/de/steamwar/entity/REntity.java index 8c241d3a..8ac0c01b 100644 --- a/SpigotCore/SpigotCore_Main/src/de/steamwar/entity/REntity.java +++ b/SpigotCore/SpigotCore_Main/src/de/steamwar/entity/REntity.java @@ -343,9 +343,9 @@ public class REntity { } private Object getMoveLookPacket(double diffX, double diffY, double diffZ, boolean rotEq) { - short x = (short) (this.x * 4096); - short y = (short) (this.y * 4096); - short z = (short) (this.z * 4096); + short x = (short) (diffX * 4096); + short y = (short) (diffY * 4096); + short z = (short) (diffZ * 4096); byte yaw = (byte) (this.yaw * 256 / 360); byte pitch = (byte) (this.pitch * 256 / 360);