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();
/*
// 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;