diff options
author | EvilSeph <evilseph@gmail.com> | 2011-07-22 00:06:08 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-07-22 01:25:07 -0400 |
commit | a5f85b6f1af546c6253ffda782a1bbff0b528501 (patch) | |
tree | 2cb6055803ee5df9467b035b5926b276f28b0151 /src/main/java/net | |
parent | 97a6534ee60f70cdc7395b8a7aa5c57ff1200090 (diff) | |
download | craftbukkit-a5f85b6f1af546c6253ffda782a1bbff0b528501.tar craftbukkit-a5f85b6f1af546c6253ffda782a1bbff0b528501.tar.gz craftbukkit-a5f85b6f1af546c6253ffda782a1bbff0b528501.tar.lz craftbukkit-a5f85b6f1af546c6253ffda782a1bbff0b528501.tar.xz craftbukkit-a5f85b6f1af546c6253ffda782a1bbff0b528501.zip |
Fixed map render distance when view-distance < 7.
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemWorldMap.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ItemWorldMap.java b/src/main/java/net/minecraft/server/ItemWorldMap.java index 1995346d..be54e2d7 100644 --- a/src/main/java/net/minecraft/server/ItemWorldMap.java +++ b/src/main/java/net/minecraft/server/ItemWorldMap.java @@ -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; |