mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +01:00
Potentially fixed crash when building at max world height
This commit is contained in:
parent
eb934c760d
commit
0e7b9834f9
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user