mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 13:36:16 +01:00
Fixed maps crashing/disconnecting the client under certain circumstances.
This commit is contained in:
parent
bfa22f3025
commit
97a6534ee6
@ -101,6 +101,7 @@ public class ItemWorldMap extends ItemWorldMapBase {
|
|||||||
|
|
||||||
if (!flag1) {
|
if (!flag1) {
|
||||||
--k4;
|
--k4;
|
||||||
|
if (k4 <= 0) break; // CraftBukkit
|
||||||
j5 = chunk.getTypeId(l4 + k3, k4 - 1, j4 + l3);
|
j5 = chunk.getTypeId(l4 + k3, k4 - 1, j4 + l3);
|
||||||
}
|
}
|
||||||
} while (!flag1);
|
} while (!flag1);
|
||||||
|
Loading…
Reference in New Issue
Block a user