Potentially fixed crash when building at max world height

Dieser Commit ist enthalten in:
Nathan Adams 2012-03-01 17:07:02 +00:00
Ursprung eb934c760d
Commit 0e7b9834f9

Datei anzeigen

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