mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 11:38:29 +01:00
Fixed maps crashing/disconnecting the client under certain circumstances.
This commit is contained in:
parent
9b635aacc4
commit
1ea0037f49
@ -112,6 +112,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 (k4 > 0 && !flag1);
|
} while (k4 > 0 && !flag1);
|
||||||
|
Loading…
Reference in New Issue
Block a user