diff --git a/src/main/java/net/coreprotect/utility/Util.java b/src/main/java/net/coreprotect/utility/Util.java index d0355be3..0a19b868 100755 --- a/src/main/java/net/coreprotect/utility/Util.java +++ b/src/main/java/net/coreprotect/utility/Util.java @@ -1039,6 +1039,10 @@ public static Material getType(int id) { name = BukkitAdapter.ADAPTER.parseLegacyName(name); material = Material.getMaterial(name); + + if (material == null) { + material = Material.getMaterial(name, true); + } } return material;