From c7e65646670d59232bcf586fdc7c12d5c5abf59a Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Mon, 22 Feb 2021 15:22:38 +0100 Subject: [PATCH] Add new metrics pies --- 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 df68aaa0f..0ace2605e 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java @@ -1030,6 +1030,8 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain< () -> Bukkit.getPluginManager().getPlugin("FastAsyncWorldEdit") != null ? "FastAsyncWorldEdit" : "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() {