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 --> |     <!-- 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> | ||||||
|   | |||||||
| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user