Fixed map render distance when view-distance < 7.

Dieser Commit ist enthalten in:
EvilSeph 2011-07-22 00:06:08 -04:00
Ursprung 97a6534ee6
Commit a5f85b6f1a

Datei anzeigen

@ -62,6 +62,7 @@ public class ItemWorldMap extends ItemWorldMapBase {
byte b2 = 0; byte b2 = 0;
int[] aint = new int[256]; int[] aint = new int[256];
Chunk chunk = world.getChunkAtWorldCoords(i3, j3); Chunk chunk = world.getChunkAtWorldCoords(i3, j3);
if (chunk.isEmpty()) continue; // CraftBukkit
int k3 = i3 & 15; int k3 = i3 & 15;
int l3 = j3 & 15; int l3 = j3 & 15;
int i4 = 0; int i4 = 0;