Don't attach build number to plugin version in metrics

This commit is contained in:
libraryaddict 2019-03-21 09:46:13 +13:00
parent 7955b5acf4
commit b0435916f0

View File

@ -24,6 +24,7 @@ public class MetricsInitalizer {
String version = plugin.getDescription().getVersion(); String version = plugin.getDescription().getVersion();
/*
// If a release build, attach build number // If a release build, attach build number
if (!plugin.isReleaseBuild() || !LibsPremium.isPremium()) { if (!plugin.isReleaseBuild() || !LibsPremium.isPremium()) {
version += "-"; version += "-";
@ -35,7 +36,7 @@ public class MetricsInitalizer {
// else 9.7.0-SNAPSHOT-unknown // else 9.7.0-SNAPSHOT-unknown
version += plugin.getBuildNo(); version += plugin.getBuildNo();
} }*/
Metrics metrics = new Metrics(plugin, version); Metrics metrics = new Metrics(plugin, version);
final String premiumType; final String premiumType;