Fixed wrong color for broadcast prefix
This commit is contained in:
parent
8228d1bec6
commit
66823ad7ba
@ -101,7 +101,7 @@ public final class Utils
|
|||||||
public static int broadcast(String prefix, String message, BroadcastFilter filter, char alternateColorCode)
|
public static int broadcast(String prefix, String message, BroadcastFilter filter, char alternateColorCode)
|
||||||
{
|
{
|
||||||
if (prefix == null)
|
if (prefix == null)
|
||||||
prefix = "§8[§c" + getCaller() + "§8]: ";
|
prefix = "§8[§2" + getCaller() + "§8]: ";
|
||||||
return broadcast(ChatColor.translateAlternateColorCodes(alternateColorCode, prefix),
|
return broadcast(ChatColor.translateAlternateColorCodes(alternateColorCode, prefix),
|
||||||
ChatColor.translateAlternateColorCodes(alternateColorCode, message), filter, null);
|
ChatColor.translateAlternateColorCodes(alternateColorCode, message), filter, null);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user