forked from LogBlock/LogBlock
Legacy materials are not iterated, so don't have to check for that
This commit is contained in:
@ -25,9 +25,7 @@ public class MaterialConverter {
|
|||||||
|
|
||||||
static {
|
static {
|
||||||
for (Material m : Material.values()) {
|
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