Fix admin chat showing up twice in the logs.

This commit is contained in:
GJ 2013-02-20 10:45:30 -05:00
parent 240589e9ea
commit 760432fb41

View File

@ -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) {