Legacy materials are not iterated, so don't have to check for that
This commit is contained in:
1 parent
88faff8230
commit
0bdbce59b8
1 file changed
+1
-3
@@ -25,9 +25,7 @@ public class MaterialConverter {
|
||||
|
||||
static {
|
||||
for (Material m : Material.values()) {
|
||||
if (!m.name().startsWith("LEGACY_") && m.getKey() != null) {
|
||||
materialKeyToMaterial.put(m.getKey().toString(), m);
|
||||
}
|
||||
materialKeyToMaterial.put(m.getKey().toString(), m);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user