diff options
author | Tahg <tahgtahv@gmail.com> | 2012-03-02 20:57:23 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2012-03-02 20:59:24 -0500 |
commit | 2d5263bfe50b0666831e61adc4ac5a95ba81819f (patch) | |
tree | 4c65d647d7e5ae768096c390c0513afe2b0c25b5 /src/main/java/net/minecraft/server/Chunk.java | |
parent | ec35500c638c43cd211d1b33578256715a2c31cf (diff) | |
download | craftbukkit-2d5263bfe50b0666831e61adc4ac5a95ba81819f.tar craftbukkit-2d5263bfe50b0666831e61adc4ac5a95ba81819f.tar.gz craftbukkit-2d5263bfe50b0666831e61adc4ac5a95ba81819f.tar.lz craftbukkit-2d5263bfe50b0666831e61adc4ac5a95ba81819f.tar.xz craftbukkit-2d5263bfe50b0666831e61adc4ac5a95ba81819f.zip |
recover from converter issue FIXES BUKKIT-890
Diffstat (limited to 'src/main/java/net/minecraft/server/Chunk.java')
-rw-r--r-- | src/main/java/net/minecraft/server/Chunk.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java index c2c7340c..02b02f3c 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) { |