Fixed clearlog only working for one world

This commit is contained in:
Robin Kupper
2011-07-06 21:42:36 +02:00
parent 5a7b594ef3
commit 65fdbc5adc

View File

@@ -97,7 +97,7 @@ public class LogBlock extends JavaPlugin
if (config.tables.containsKey(world.getName().hashCode())) {
params.world = world;
try {
commandsHandler.new CommandClearLog(new ConsoleCommandSender(getServer()), params, true);
commandsHandler.new CommandClearLog(new ConsoleCommandSender(getServer()), params.clone(), true);
} catch (final Exception ex) {
log.severe("Failed to schedule ClearLog: " + ex.getMessage());
}