forked from LogBlock/LogBlock
Fixed clearlog only working for one world
This commit is contained in:
@@ -97,7 +97,7 @@ public class LogBlock extends JavaPlugin
|
|||||||
if (config.tables.containsKey(world.getName().hashCode())) {
|
if (config.tables.containsKey(world.getName().hashCode())) {
|
||||||
params.world = world;
|
params.world = world;
|
||||||
try {
|
try {
|
||||||
commandsHandler.new CommandClearLog(new ConsoleCommandSender(getServer()), params, true);
|
commandsHandler.new CommandClearLog(new ConsoleCommandSender(getServer()), params.clone(), true);
|
||||||
} catch (final Exception ex) {
|
} catch (final Exception ex) {
|
||||||
log.severe("Failed to schedule ClearLog: " + ex.getMessage());
|
log.severe("Failed to schedule ClearLog: " + ex.getMessage());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user