Allow Disabling of Command Logging

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2013-06-21 18:01:29 +10:00
parent 135df938cc
commit 0eed728812
2 changed files with 31 additions and 26 deletions

View File

@@ -150,4 +150,10 @@ public class SpigotConfig
SpigotConfig.config.addDefault( path, def );
return SpigotConfig.config.getDouble( path, SpigotConfig.config.getDouble( path ) );
}
public static boolean logCommands;
private static void logCommands()
{
SpigotConfig.logCommands = SpigotConfig.getBoolean( "commands.log", true );
}
}