Fixed unkown block material in IslandLevelManager.

This commit is contained in:
Wertík 2020-03-30 18:24:16 +02:00 committed by Brianna
parent e7e55a21cf
commit b21c33538b

View File

@ -185,7 +185,11 @@ public final class IslandLevelManager {
if (blockType == CompatibleMaterial.AIR) return EMPTY; 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; if (finalType == null) return EMPTY;