Add extra debug information and make sure it logs if developer mode is activated

This commit is contained in:
gravitylow committed 2014-01-02 18:44:33 -05:00
1 parent 1cf33a6c45
commit 0bcbb9b736
3 files changed
+24 -3

No files matched your search

@@ -225,7 +225,7 @@ public class AntiCheat extends JavaPlugin {
Bukkit.getScheduler().runTask(getPlugin(), new Runnable() {
public void run() {
if (developer) {
manager.log("[DEBUG] " + string);
manager.debugLog("[DEBUG] " + string);
}
}
});