Metrics should display non-spigot builds with build number
This commit is contained in:
		
							
								
								
									
										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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user