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 06446d895..45982a955 100644 --- a/src/main/java/net/minestom/server/utils/chunk/ChunkUtils.java +++ b/src/main/java/net/minestom/server/utils/chunk/ChunkUtils.java @@ -152,6 +152,8 @@ public final class ChunkUtils { /** * Get the block index of a position + *
+ * This can be cast as a short as long as you don't mind receiving a negative value (not array-friendly) * * @param x the block X * @param y the block Y