World height related fixes - 128 -> 256. Addresses BUKKIT-889

This commit is contained in:
Mike Primm authored and EvilSeph committed 2012-03-01 20:13:28 -05:00
1 parent efc9ced128
commit 82f2a2e773
7 files changed
+15 -15

No files matched your search

@@ -1923,7 +1923,7 @@ public class World implements IBlockAccess {
int k = this.g >> 2;
int l = k & 15;
int i1 = k >> 8 & 15;
int j1 = k >> 16 & 127;
int j1 = k >> 16 & 255; // CraftBukkit - 127 -> 255
int k1 = chunk.getTypeId(l, j1, i1);
l += i;