diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java index c2c7340ce0..02b02f3cb2 100644 --- a/src/main/java/net/minecraft/server/Chunk.java +++ b/src/main/java/net/minecraft/server/Chunk.java @@ -242,7 +242,7 @@ public class Chunk { } private void h(int i, int j, int k) { - int l = this.heightMap[k << 4 | i]; + int l = this.heightMap[k << 4 | i] & 0xFF; // CraftBukkit int i1 = l; if (j > l) {