From 9a626ea1def65915cc2331cc710f60acf124d79f Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Fri, 10 Jan 2020 14:18:38 +0100 Subject: [PATCH] Deprecate metrics methods Metrics are controlled via bstats config for some time now. The config option in settings.yml has already been deprecated in the past. --- .../github/intellectualsites/plotsquared/bukkit/BukkitMain.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java index 4ac6a77f2..f6c82bc37 100644 --- a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java +++ b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/BukkitMain.java @@ -682,6 +682,8 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain return new BukkitSetupUtils(); } + @Deprecated + // Metrics are controlled via bstats config @Override public void startMetrics() { if (this.metricsStarted) { return;