mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-28 13:45:32 +01:00
Correct translation of Zombie Pigman
This commit is contained in:
parent
88e8abcead
commit
fcda4d45e9
@ -250,7 +250,11 @@ public class LocaleQuery {
|
||||
key = oldEntities.get(type.name());
|
||||
}
|
||||
} else {
|
||||
key = "entity.minecraft." + type.toString().toLowerCase();
|
||||
if (type.name().equals("PIG_ZOMBIE")) {
|
||||
key = "entity.minecraft.zombie_pigman";
|
||||
} else {
|
||||
key = "entity.minecraft." + type.toString().toLowerCase();
|
||||
}
|
||||
}
|
||||
String msg = message.replace("<mob>", "\",{\"translate\":\"" + key + "\"},\"");
|
||||
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "tellraw " + player.getName() + " [\"" + msg + "\"]");
|
||||
|
Loading…
Reference in New Issue
Block a user