From 5c618d03e8b8128b30f8863d1e709de9edeea730 Mon Sep 17 00:00:00 2001 From: D4rkr34lm Date: Sun, 17 May 2026 18:21:33 +0200 Subject: [PATCH] Fix entity move --- .../SpigotCore_Main/src/de/steamwar/entity/REntity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);