mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fix admin chat showing up twice in the logs.
This commit is contained in:
parent
240589e9ea
commit
760432fb41
@ -30,7 +30,6 @@ public final class ChatManager {
|
|||||||
String adminMessage = chatEvent.getMessage();
|
String adminMessage = chatEvent.getMessage();
|
||||||
|
|
||||||
mcMMO.p.getServer().broadcast(LocaleLoader.getString("Commands.AdminChat.Prefix", displayName) + adminMessage, "mcmmo.chat.adminchat");
|
mcMMO.p.getServer().broadcast(LocaleLoader.getString("Commands.AdminChat.Prefix", displayName) + adminMessage, "mcmmo.chat.adminchat");
|
||||||
mcMMO.p.getLogger().info("[A]<" + ChatColor.stripColor(displayName) + "> " + adminMessage);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void handleAdminChat(Plugin plugin, String senderName, String message) {
|
public static void handleAdminChat(Plugin plugin, String senderName, String message) {
|
||||||
|
Loading…
Reference in New Issue
Block a user