mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 06:53:44 +01:00
Fixed map render distance when view-distance < 7.
This commit is contained in:
parent
97a6534ee6
commit
a5f85b6f1a
@ -62,6 +62,7 @@ public class ItemWorldMap extends ItemWorldMapBase {
|
||||
byte b2 = 0;
|
||||
int[] aint = new int[256];
|
||||
Chunk chunk = world.getChunkAtWorldCoords(i3, j3);
|
||||
if (chunk.isEmpty()) continue; // CraftBukkit
|
||||
int k3 = i3 & 15;
|
||||
int l3 = j3 & 15;
|
||||
int i4 = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user