From b0435916f0ef8721bbfd75e9ae3f310de27a6815 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 21 Mar 2019 09:46:13 +1300 Subject: [PATCH] Don't attach build number to plugin version in metrics --- .../disguise/utilities/metrics/MetricsInitalizer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/metrics/MetricsInitalizer.java b/src/main/java/me/libraryaddict/disguise/utilities/metrics/MetricsInitalizer.java index 10c943d3..8fac54e8 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/metrics/MetricsInitalizer.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/metrics/MetricsInitalizer.java @@ -24,6 +24,7 @@ public class MetricsInitalizer { String version = plugin.getDescription().getVersion(); + /* // If a release build, attach build number if (!plugin.isReleaseBuild() || !LibsPremium.isPremium()) { version += "-"; @@ -35,7 +36,7 @@ public class MetricsInitalizer { // else 9.7.0-SNAPSHOT-unknown version += plugin.getBuildNo(); - } + }*/ Metrics metrics = new Metrics(plugin, version); final String premiumType;