From 9df50e8d875140cbee7a04dc159e83af0459bf08 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 15 Jun 2019 13:55:12 +0200 Subject: [PATCH] Add metrics chart for creative mode setting --- src/main/java/de/epiceric/shopchest/ShopChest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/epiceric/shopchest/ShopChest.java b/src/main/java/de/epiceric/shopchest/ShopChest.java index 09e895c..926f058 100644 --- a/src/main/java/de/epiceric/shopchest/ShopChest.java +++ b/src/main/java/de/epiceric/shopchest/ShopChest.java @@ -307,6 +307,7 @@ public class ShopChest extends JavaPlugin { debug("Initializing Metrics..."); Metrics metrics = new Metrics(this); + metrics.addCustomChart(new Metrics.SimplePie("creative_setting", () -> Config.creativeSelectItem ? "Enabled" : "Disabled")); metrics.addCustomChart(new Metrics.SimplePie("database_type", () -> Config.databaseType.toString())); metrics.addCustomChart(new Metrics.AdvancedPie("shop_type", () -> { int normal = 0;