Fix minor error
This commit is contained in:
parent
001064adf0
commit
2ce9b38c74
@ -99,8 +99,7 @@ public class ModdedManager implements PluginMessageListener {
|
|||||||
|
|
||||||
public static CustomEntity getCustomEntity(String name) {
|
public static CustomEntity getCustomEntity(String name) {
|
||||||
for (CustomEntity entity : entities.values()) {
|
for (CustomEntity entity : entities.values()) {
|
||||||
if (!name.contains(":") ? entity.getName().split(":")[1].equalsIgnoreCase(name) :
|
if (!entity.getName().equalsIgnoreCase(name)) {
|
||||||
!entity.getName().equalsIgnoreCase(name)) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user