diff --git a/src/main/java/org/dynmap/MapChunkCache.java b/src/main/java/org/dynmap/MapChunkCache.java index bcd56715..1649e457 100644 --- a/src/main/java/org/dynmap/MapChunkCache.java +++ b/src/main/java/org/dynmap/MapChunkCache.java @@ -186,7 +186,7 @@ public class MapChunkCache { if(snaparray != null) { CraftChunkSnapshot ss = snaparray[((x>>4) - x_min) + ((z>>4) - z_min) * x_dim]; if(ss == null) { - return 0; + return 1; } else return ss.getHighestBlockYAt(x & 0xF, z & 0xF);