mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 10:36:06 +01:00
Changes...
This commit is contained in:
parent
8a4ba2a66c
commit
dd0b2137d6
@ -374,12 +374,19 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core {
|
||||
envGraph.addPlotter(new EnvironmentPlotter(this, env));
|
||||
|
||||
|
||||
m.addCustomData(new Metrics.Plotter("world_count") {
|
||||
m.addCustomData(new Metrics.Plotter("Loaded worlds") {
|
||||
@Override
|
||||
public int getValue() {
|
||||
return getMVWorldManager().getMVWorlds().size();
|
||||
}
|
||||
});
|
||||
m.addCustomData(new Metrics.Plotter("Total number of worlds") {
|
||||
@Override
|
||||
public int getValue() {
|
||||
return getMVWorldManager().getMVWorlds().size()
|
||||
+ getMVWorldManager().getUnloadedWorlds().size();
|
||||
}
|
||||
});
|
||||
|
||||
Set<String> gens = new HashSet<String>();
|
||||
for (MultiverseWorld w : this.getMVWorldManager().getMVWorlds())
|
||||
|
Loading…
Reference in New Issue
Block a user