From 9edf69af543a32c01aa0751c316c6b80d14ab5b4 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 16 Dec 2018 18:35:10 +1300 Subject: [PATCH] Metrics should display non-spigot builds with build number --- pom.xml | 2 +- src/main/java/me/libraryaddict/disguise/LibsDisguises.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 69ca3090..8d3dcfb1 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ LibsDisguises LibsDisguises - 9.7.1 + 9.7.1-SNAPSHOT clean install diff --git a/src/main/java/me/libraryaddict/disguise/LibsDisguises.java b/src/main/java/me/libraryaddict/disguise/LibsDisguises.java index 377fdce3..72d813e3 100644 --- a/src/main/java/me/libraryaddict/disguise/LibsDisguises.java +++ b/src/main/java/me/libraryaddict/disguise/LibsDisguises.java @@ -103,7 +103,7 @@ public class LibsDisguises extends JavaPlugin { String version = getDescription().getVersion(); // If a release build, attach build number - if (!isReleaseBuild()) { + if (!isReleaseBuild() && LibsPremium.isPremium()) { version += "-"; // 9.7.0-SNAPSHOT-b30