Fix entity move

This commit is contained in:
D4rkr34lm
2026-05-17 18:21:33 +02:00
parent 89b8a3ea42
commit 5c618d03e8
@@ -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);