mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-18 16:15:19 +01:00
Translate the colors.
This commit is contained in:
parent
87dd05111a
commit
a6d09352bf
@ -58,7 +58,7 @@ public class OreBroadcastListener implements Listener {
|
||||
}
|
||||
String color = ob.getConfig().getString("colors." + blockName, "white").toUpperCase();
|
||||
ChatColor oreColor = ChatColor.valueOf(color);
|
||||
String oreName = translateOre(blockName, color);
|
||||
String oreName = ChatColor.translateAlternateColorCodes('&', translateOre(blockName, color));
|
||||
|
||||
plugin.logDebug("onOreBroadcastEvent caught");
|
||||
for (PurpleBot ircBot : plugin.ircBots.values()) {
|
||||
|
Loading…
Reference in New Issue
Block a user