Fixed map render distance when view-distance < 7.

This commit is contained in:
EvilSeph 2011-07-22 00:06:08 -04:00
parent 97a6534ee6
commit a5f85b6f1a

View File

@ -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;