Add a FAWE/WE chart

This commit is contained in:
Alexander Söderberg 2020-05-14 16:33:26 +02:00
parent 3d30885daf
commit 86edb20c15
No known key found for this signature in database
GPG key ID: C0207FF7EA146678

View file

@ -750,6 +750,8 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
})); }));
metrics.addCustomChart(new Metrics.SimplePie("premium", metrics.addCustomChart(new Metrics.SimplePie("premium",
() -> PremiumVerification.isPremium() ? "Premium" : "Non-Premium")); () -> PremiumVerification.isPremium() ? "Premium" : "Non-Premium"));
metrics.addCustomChart(new Metrics.SimplePie("worldedit_implementation",
() -> Bukkit.getPluginManager().getPlugin("FastAsyncWorldEdit") != null ? "FastAsyncWorldEdit" : "WorldEdit"));
} }
@Override public ChunkManager initChunkManager() { @Override public ChunkManager initChunkManager() {