Log messages using prefix. Fixes #252

This commit is contained in:
h31ix committed 2013-10-13 13:46:55 -04:00
1 parent 068af0606d
commit 26bd4e0f78
1 file changed
+1 -1
@@ -84,7 +84,7 @@ public class AnticheatManager {
public void log(String message, int i) {
if (i != 1 && getConfiguration().getConfig().logToConsole.getValue()) {
Bukkit.getConsoleSender().sendMessage(ChatColor.RED + message);
plugin.getLogger().info(ChatColor.RED + message);
}
if (i == 0 && getConfiguration().getConfig().fileLogLevel.getValue() == LOG_LEVEL_HIGH) // Not an alert, normal log message
{