From ea68ac39716de67a74e1acd40b4b1d7b4ab68dd6 Mon Sep 17 00:00:00 2001 From: stijnb1234 Date: Tue, 8 Jun 2021 16:36:16 +0200 Subject: [PATCH] Fixed building --- src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java b/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java index 686b372..36964bc 100644 --- a/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java +++ b/src/main/lombok/nl/SBDeveloper/V10Lift/V10LiftPlugin.java @@ -14,6 +14,7 @@ import nl.SBDeveloper.V10Lift.sbutils.ConfigUpdater; import nl.SBDeveloper.V10Lift.sbutils.UpdateManager; import nl.SBDeveloper.V10Lift.sbutils.YamlFile; import org.bstats.bukkit.Metrics; +import org.bstats.charts.SingleLineChart; import org.bukkit.Bukkit; import org.bukkit.plugin.java.JavaPlugin; @@ -81,7 +82,7 @@ public class V10LiftPlugin extends JavaPlugin { //Load metrics Bukkit.getLogger().info("[V10Lift] Loading metrics. Can be disabled in the global bStats config."); Metrics metrics = new Metrics(this, 6564); - metrics.addCustomChart(new Metrics.SingleLineChart("lifts", () -> DataManager.getLifts().size())); + metrics.addCustomChart(new SingleLineChart("lifts", () -> DataManager.getLifts().size())); //Load the update checker if (getSConfig().getFile().getBoolean("UpdateChecker.Enabled")) {