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

This commit is contained in:
Mike Primm
2012-03-01 15:13:53 -06:00
committed by EvilSeph
parent efc9ced128
commit 82f2a2e773
7 changed files with 15 additions and 15 deletions

View File

@@ -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;