Add new metrics pies

This commit is contained in:
NotMyFault 2021-02-22 15:22:38 +01:00
parent 22be81b5cb
commit c7e6564667

View File

@ -1030,6 +1030,8 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain<
() -> Bukkit.getPluginManager().getPlugin("FastAsyncWorldEdit") != null ? () -> Bukkit.getPluginManager().getPlugin("FastAsyncWorldEdit") != null ?
"FastAsyncWorldEdit" : "FastAsyncWorldEdit" :
"WorldEdit")); "WorldEdit"));
metrics.addCustomChart(new Metrics.SimplePie("offline_mode", () -> Settings.UUID.OFFLINE ? "true" : "false"));
metrics.addCustomChart(new Metrics.SimplePie("offline_mode_force", () -> Settings.UUID.FORCE_LOWERCASE ? "true" : "false"));
} }
@Override public ChunkManager initChunkManager() { @Override public ChunkManager initChunkManager() {