Fixed clearlog only working for one world
This commit is contained in:
1 parent
5a7b594ef3
commit
65fdbc5adc
1 file changed
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user