Metrics should display non-spigot builds with build number

This commit is contained in:
libraryaddict 2018-12-16 18:35:10 +13:00
parent 8a24f8568f
commit 9edf69af54
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<!-- A good example on why temporary names for project identification shouldn't be used --> <!-- A good example on why temporary names for project identification shouldn't be used -->
<groupId>LibsDisguises</groupId> <groupId>LibsDisguises</groupId>
<artifactId>LibsDisguises</artifactId> <artifactId>LibsDisguises</artifactId>
<version>9.7.1</version> <version>9.7.1-SNAPSHOT</version>
<build> <build>
<defaultGoal>clean install</defaultGoal> <defaultGoal>clean install</defaultGoal>

View File

@ -103,7 +103,7 @@ public class LibsDisguises extends JavaPlugin {
String version = getDescription().getVersion(); String version = getDescription().getVersion();
// If a release build, attach build number // If a release build, attach build number
if (!isReleaseBuild()) { if (!isReleaseBuild() && LibsPremium.isPremium()) {
version += "-"; version += "-";
// 9.7.0-SNAPSHOT-b30 // 9.7.0-SNAPSHOT-b30