mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-23 11:05:38 +01:00
Correct translation of most rabbit types
This commit is contained in:
parent
0a694c3ccf
commit
edf9334ef8
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user