diff --git a/main/src/main/java/me/blackvein/quests/util/LocaleQuery.java b/main/src/main/java/me/blackvein/quests/util/LocaleQuery.java index af3b1d5e8..cab3312f0 100644 --- a/main/src/main/java/me/blackvein/quests/util/LocaleQuery.java +++ b/main/src/main/java/me/blackvein/quests/util/LocaleQuery.java @@ -255,10 +255,9 @@ public class LocaleQuery { key = oldEntities.get(type.name() + "." + Profession.valueOf(extra).name()); } else if (type.name().equals("OCELOT") && Ocelot.Type.valueOf(extra) != null) { key = oldEntities.get(type.name() + "." + Ocelot.Type.valueOf(extra).name()); - } else if (type.name().equals("RABBIT") && Rabbit.Type.valueOf(extra) != null) { - if (Rabbit.Type.valueOf(extra).equals(Rabbit.Type.THE_KILLER_BUNNY)) { - key = oldEntities.get(type.name() + "." + Rabbit.Type.valueOf(extra).name()); - } + } else if (type.name().equals("RABBIT") && Rabbit.Type.valueOf(extra) != null + && Rabbit.Type.valueOf(extra).equals(Rabbit.Type.THE_KILLER_BUNNY)) { + key = oldEntities.get(type.name() + "." + Rabbit.Type.valueOf(extra).name()); } else { key = oldEntities.get(type.name()); }