From 3665e4c3cb0efb77cbcf04511b52b8e6d8937f44 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 17 Jan 2023 12:23:25 +0100 Subject: [PATCH] Fix coordinate bug (operator precedence) --- SpigotCore_Main/src/de/steamwar/entity/REntityServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/entity/REntityServer.java b/SpigotCore_Main/src/de/steamwar/entity/REntityServer.java index a35d4de..70a5fee 100644 --- a/SpigotCore_Main/src/de/steamwar/entity/REntityServer.java +++ b/SpigotCore_Main/src/de/steamwar/entity/REntityServer.java @@ -224,6 +224,6 @@ public class REntityServer implements Listener { } private long chunkToId(int x, int z) { - return (long) x << 32 + z; + return ((long) x << 32) + z; } }