Add more metrics to chunk loading (for testing)
This commit is contained in:
parent
eeffa4f98d
commit
926d2a3dbc
2 changed files with 79 additions and 4 deletions
|
|
@ -955,7 +955,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
else {
|
||||
dsender = new BukkitCommandSender(sender);
|
||||
}
|
||||
return core.processCommand(dsender, cmd.getName(), commandLabel, args);
|
||||
boolean rslt = core.processCommand(dsender, cmd.getName(), commandLabel, args);
|
||||
if (commandLabel.equals("dynmap") && (args.length > 0) && (args[0].equals("stats"))) {
|
||||
NewMapChunkCache.dumpStats(sender);
|
||||
}
|
||||
return rslt;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue