mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Log messages using prefix. Fixes #252
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user