mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-14 15:26:54 +01:00
Don't attach build number to plugin version in metrics
This commit is contained in:
parent
7955b5acf4
commit
b0435916f0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user