mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 12:11:47 +01:00
Potentially fixed crash when building at max world height
This commit is contained in:
parent
eb934c760d
commit
0e7b9834f9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue