Metrics should display non-spigot builds with build number
This commit is contained in:
parent
8a24f8568f
commit
9edf69af54
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
<!-- A good example on why temporary names for project identification shouldn't be used -->
|
||||
<groupId>LibsDisguises</groupId>
|
||||
<artifactId>LibsDisguises</artifactId>
|
||||
<version>9.7.1</version>
|
||||
<version>9.7.1-SNAPSHOT</version>
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean install</defaultGoal>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user