diff --git a/src/main/java/net/minestom/server/utils/chunk/ChunkUtils.java b/src/main/java/net/minestom/server/utils/chunk/ChunkUtils.java index 63572db36..31fe60cf4 100644 --- a/src/main/java/net/minestom/server/utils/chunk/ChunkUtils.java +++ b/src/main/java/net/minestom/server/utils/chunk/ChunkUtils.java @@ -253,10 +253,6 @@ public final class ChunkUtils { * @return section coordinate */ public static int toSectionRelativeCoordinate(int xyz) { - xyz %= 16; - if (xyz < 0) { - xyz += Chunk.CHUNK_SECTION_SIZE; - } - return xyz; + return xyz & 0xF; } }