mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-24 03:05:56 +01:00
Fixed unkown block material in IslandLevelManager.
This commit is contained in:
parent
e7e55a21cf
commit
b21c33538b
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user