diff --git a/src/main/java/me/libraryaddict/disguise/utilities/modded/ModdedManager.java b/src/main/java/me/libraryaddict/disguise/utilities/modded/ModdedManager.java index 1301553c..e594526e 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/modded/ModdedManager.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/modded/ModdedManager.java @@ -99,8 +99,7 @@ public class ModdedManager implements PluginMessageListener { public static CustomEntity getCustomEntity(String name) { for (CustomEntity entity : entities.values()) { - if (!name.contains(":") ? entity.getName().split(":")[1].equalsIgnoreCase(name) : - !entity.getName().equalsIgnoreCase(name)) { + if (!entity.getName().equalsIgnoreCase(name)) { continue; }