diff --git a/bukkit-helper/src/main/java/org/dynmap/bukkit/helper/AbstractMapChunkCache.java b/bukkit-helper/src/main/java/org/dynmap/bukkit/helper/AbstractMapChunkCache.java index a00e97d1..d106ac6a 100644 --- a/bukkit-helper/src/main/java/org/dynmap/bukkit/helper/AbstractMapChunkCache.java +++ b/bukkit-helper/src/main/java/org/dynmap/bukkit/helper/AbstractMapChunkCache.java @@ -129,17 +129,17 @@ public abstract class AbstractMapChunkCache extends MapChunkCache { public int getBlockSkyLight() { try { return snap.getBlockSkyLight(bx, y, bz); - } catch (ArrayIndexOutOfBoundsException aioobx) { - return 15; + } catch (ArrayIndexOutOfBoundsException | IllegalArgumentException x) { } + return 15; } @Override public final int getBlockEmittedLight() { try { return snap.getBlockEmittedLight(bx, y, bz); - } catch (ArrayIndexOutOfBoundsException aioobx) { - return 0; + } catch (ArrayIndexOutOfBoundsException | IllegalArgumentException x) { } + return 0; } private void biomePrep() { if(sameneighborbiomecnt != null)