Update ItemChecker.java

This commit is contained in:
hyperdefined
2025-01-22 18:17:49 -05:00
parent 2b5f784b93
commit 87aa26c7e9

View File

@@ -47,9 +47,6 @@ public class ItemChecker {
if (lowerCase.contains("_helmet") || lowerCase.contains("_chestplate") || lowerCase.contains("_leggings") || lowerCase.contains("_boots")) {
armorItems.add(material);
}
if (lowerCase.equalsIgnoreCase("mace")) {
meleeItems.add(material);
}
}
// hardcode these
@@ -59,6 +56,7 @@ public class ItemChecker {
validItems.add(Material.FISHING_ROD);
validItems.add(Material.CROSSBOW);
validItems.add(Material.ELYTRA);
validItems.add(Material.MACE);
// combine the lists
validItems.addAll(armorItems);