Potentially fixed crash when building at max world height

This commit is contained in:
Nathan Adams 2012-03-01 17:07:02 +00:00
parent eb934c760d
commit 0e7b9834f9

View file

@ -2284,7 +2284,7 @@ public class World implements IBlockAccess {
i5 = 1;
}
if (l2 == k2 - i5 && i1 <= this.E.length) {
if (l2 == k2 - i5 && i1 < this.E.length) { // CraftBukkit - <= to <
this.E[i1++] = j4 - i + 32 + (k4 - j + 32 << 6) + (l4 - k + 32 << 12) + (k2 - i5 << 18);
}
}