diff --git a/src/main/java/com/songoda/skyblock/levelling/rework/IslandLevelManager.java b/src/main/java/com/songoda/skyblock/levelling/rework/IslandLevelManager.java index d61611c5..4c0640cd 100644 --- a/src/main/java/com/songoda/skyblock/levelling/rework/IslandLevelManager.java +++ b/src/main/java/com/songoda/skyblock/levelling/rework/IslandLevelManager.java @@ -185,7 +185,11 @@ public final class IslandLevelManager { if (blockType == CompatibleMaterial.AIR) return EMPTY; - Material finalType = parseType(block).getMaterial(); + CompatibleMaterial compMaterial = parseType(block); + + if (compMaterial == null) return EMPTY; + + Material finalType = compMaterial.getMaterial(); if (finalType == null) return EMPTY;