Fixed auto clearlog waiting minutes instead of hours

This commit is contained in:
DiddiZ
2012-01-14 01:31:23 +01:00
parent dd9785ef7c
commit 20cdfa369b

View File

@@ -114,7 +114,7 @@ public class LogBlock extends JavaPlugin
} else } else
getLogger().info("[LogBlock] Permissions plugin not found. Using Bukkit Permissions."); getLogger().info("[LogBlock] Permissions plugin not found. Using Bukkit Permissions.");
if (config.enableAutoClearLog && config.autoClearLogDelay > 0) if (config.enableAutoClearLog && config.autoClearLogDelay > 0)
getServer().getScheduler().scheduleAsyncRepeatingTask(this, new AutoClearLog(this), 6000, config.autoClearLogDelay * 20); getServer().getScheduler().scheduleAsyncRepeatingTask(this, new AutoClearLog(this), 6000, config.autoClearLogDelay * 60 * 20);
getServer().getScheduler().scheduleAsyncDelayedTask(this, new DumpedLogImporter(this)); getServer().getScheduler().scheduleAsyncDelayedTask(this, new DumpedLogImporter(this));
final Listener lbBlockListener = new LBBlockListener(this); final Listener lbBlockListener = new LBBlockListener(this);
final Listener lbPlayerListener = new LBPlayerListener(this); final Listener lbPlayerListener = new LBPlayerListener(this);