version 16.11.3

This commit is contained in:
RoboMWM 2018-09-24 04:07:28 -07:00
parent c04666b43d
commit 80876c9708
2 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>me.ryanhamshire</groupId>
<artifactId>GriefPrevention</artifactId>
<version>16.11.2.dev</version>
<version>16.11.3.dev</version>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>

View File

@ -18,7 +18,12 @@ public class MetricsHandler
{
metrics = new Metrics(plugin);
addSimplePie("custom_build", plugin.getDescription().getVersion().equals("15.2.2"));
try
{
addSimplePie("custom_build", plugin.getDescription().getVersion().equals("15.2.2"));
addSimplePie("bukkit_impl", plugin.getServer().getVersion().split("-")[1]);
}
catch (Throwable ignored){}
//enums and etc. would be amazing.