From 2d5263bfe50b0666831e61adc4ac5a95ba81819f Mon Sep 17 00:00:00 2001 From: Tahg Date: Fri, 2 Mar 2012 20:57:23 -0500 Subject: [PATCH] recover from converter issue FIXES BUKKIT-890 --- src/main/java/net/minecraft/server/Chunk.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {