Fixed formatting error (module name was red instead of green)
This commit is contained in:
parent
41b178b455
commit
eaa158f7aa
@ -13,7 +13,7 @@ import net.md_5.bungee.api.ChatColor;
|
||||
/** The utils class containing utility functions. Those include but are not limited to sending formatted messages, broadcasts and more.
|
||||
*
|
||||
* @author Pepich */
|
||||
@Version(major = 1, minor = 1, revision = 5, compatible = 1)
|
||||
@Version(major = 1, minor = 1, revision = 6, compatible = 1)
|
||||
public final class Utils
|
||||
{
|
||||
/** Hidden constructor. Do not instantiate UTILS classes! :) */
|
||||
@ -59,7 +59,7 @@ public final class Utils
|
||||
public static void sendMessage(CommandSender recipient, String prefix, String message, char alternateColorCode)
|
||||
{
|
||||
if (prefix == null)
|
||||
prefix = "§8[§c" + getCaller() + "§8]: ";
|
||||
prefix = "§8[§2" + getCaller() + "§8]: ";
|
||||
sendMessage(recipient, ChatColor.translateAlternateColorCodes(alternateColorCode, prefix),
|
||||
ChatColor.translateAlternateColorCodes(alternateColorCode, message));
|
||||
}
|
||||
|
Reference in New Issue
Block a user