1.15 Item Conversion Complete

This commit is contained in:
Driftay
2020-01-20 03:46:53 -05:00
parent ce1eedd7cd
commit 018f08699d
18 changed files with 1460 additions and 1034 deletions

View File

@@ -128,7 +128,7 @@ public enum Role implements Permissable {
String displayName = replacePlaceholders(RELATION_CONFIG.getString("placeholder-item.name", ""));
List<String> lore = new ArrayList<>();
Material material = XMaterial.matchXMaterial(RELATION_CONFIG.getString("materials." + name().toLowerCase(), "STAINED_CLAY")).parseMaterial();
Material material = XMaterial.matchXMaterial(RELATION_CONFIG.getString("materials." + name().toLowerCase(), "STAINED_CLAY")).get().parseMaterial();
if (material == null) {
return null;
}