diff --git a/src/main/java/me/blackvein/quests/util/MiscUtil.java b/src/main/java/me/blackvein/quests/util/MiscUtil.java index b5b56340d..e7333ac2f 100644 --- a/src/main/java/me/blackvein/quests/util/MiscUtil.java +++ b/src/main/java/me/blackvein/quests/util/MiscUtil.java @@ -75,7 +75,6 @@ public class MiscUtil { public static EntityType getProperMobType(String properName) { - properName = unfixUnderscores(properName); properName = properName.toUpperCase(); for (EntityType et : EntityType.values()) { @@ -102,25 +101,6 @@ public class MiscUtil { return s; } - private static String unfixUnderscores(String s) { - - int max = s.length(); - - for (int i = 1; i < max; i++) { - - if (Character.isUpperCase(s.charAt(i))) { - - s = s.substring(0, i) + "_" + s.substring(i); - i++; - max++; - - } - - } - - return s; - } - public static String concatArgArray(String[] args, int startingIndex, int endingIndex, char delimiter) { String s = "";