From 86edb20c15fe9e2c16a49774407ee5f20a4b78e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Thu, 14 May 2020 16:33:26 +0200 Subject: [PATCH] Add a FAWE/WE chart --- Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java index 94c2256e3..e48e85856 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java @@ -750,6 +750,8 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain })); metrics.addCustomChart(new Metrics.SimplePie("premium", () -> PremiumVerification.isPremium() ? "Premium" : "Non-Premium")); + metrics.addCustomChart(new Metrics.SimplePie("worldedit_implementation", + () -> Bukkit.getPluginManager().getPlugin("FastAsyncWorldEdit") != null ? "FastAsyncWorldEdit" : "WorldEdit")); } @Override public ChunkManager initChunkManager() {