mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-27 03:27:41 +01:00
Correct translation of normal Rabbit mob type, fixes #833
This commit is contained in:
parent
33dc547cae
commit
81e5efca35
@ -213,10 +213,12 @@ public class LocaleQuery {
|
|||||||
if (oldVersion) {
|
if (oldVersion) {
|
||||||
if (type.name().equals("VILLAGER") && Career.valueOf(extra) != null) {
|
if (type.name().equals("VILLAGER") && Career.valueOf(extra) != null) {
|
||||||
key = oldEntities.get(type.name() + "." + Career.valueOf(extra).name());
|
key = oldEntities.get(type.name() + "." + Career.valueOf(extra).name());
|
||||||
} else if (type.name().equals("OCELOT") && Ocelot.Type.valueOf(extra) != null){
|
} else if (type.name().equals("OCELOT") && Ocelot.Type.valueOf(extra) != null) {
|
||||||
key = oldEntities.get(type.name() + "." + Ocelot.Type.valueOf(extra).name());
|
key = oldEntities.get(type.name() + "." + Ocelot.Type.valueOf(extra).name());
|
||||||
} else if (type.name().equals("RABBIT") && Rabbit.Type.valueOf(extra).equals(Rabbit.Type.THE_KILLER_BUNNY)) {
|
} else if (type.name().equals("RABBIT") && Rabbit.Type.valueOf(extra) != null) {
|
||||||
key = oldEntities.get(type.name() + "." + Rabbit.Type.valueOf(extra).name());
|
if (Rabbit.Type.valueOf(extra).equals(Rabbit.Type.THE_KILLER_BUNNY)) {
|
||||||
|
key = oldEntities.get(type.name() + "." + Rabbit.Type.valueOf(extra).name());
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
key = oldEntities.get(type.name());
|
key = oldEntities.get(type.name());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user