From d8d2d00f429f29f8166480f4ac2ec48ae81bdd59 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Wed, 27 Nov 2024 13:35:27 -0800 Subject: [PATCH] remove another unused file --- .../datatypes/skills/ModConfigType.java | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/main/java/com/gmail/nossr50/datatypes/skills/ModConfigType.java diff --git a/src/main/java/com/gmail/nossr50/datatypes/skills/ModConfigType.java b/src/main/java/com/gmail/nossr50/datatypes/skills/ModConfigType.java deleted file mode 100644 index e6f0da0c5d..0000000000 --- a/src/main/java/com/gmail/nossr50/datatypes/skills/ModConfigType.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.gmail.nossr50.datatypes.skills; - -public enum ModConfigType { - BLOCKS, - TOOLS, - ARMOR, - UNKNOWN; - - public static ModConfigType getModConfigType(String materialName) { - if (materialName.contains("HELM") || (materialName.contains("CHEST") && !materialName.contains("CHESTNUT")) || materialName.contains("LEGS") || materialName.contains("LEGGINGS") || materialName.contains("BOOT")) { - return ARMOR; - } else if (materialName.contains("PICKAXE") || materialName.contains("AXE") || (materialName.contains("BOW") && !materialName.contains("BOWL")) || materialName.contains("HOE") || materialName.contains("SHOVEL") || materialName.contains("SWORD")) { - return TOOLS; - } else if (materialName.contains("LOG") || materialName.contains("LEAVES") || materialName.contains("FLOWER") || materialName.contains("PLANT") || materialName.contains("CROP") || materialName.contains("ORE") || materialName.contains("DIRT") || materialName.contains("SAND") || materialName.contains("GRASS")) { - return BLOCKS; - } - - return UNKNOWN; - } -}