version 16.11.3
This commit is contained in:
parent
c04666b43d
commit
80876c9708
2
pom.xml
2
pom.xml
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>me.ryanhamshire</groupId>
|
<groupId>me.ryanhamshire</groupId>
|
||||||
<artifactId>GriefPrevention</artifactId>
|
<artifactId>GriefPrevention</artifactId>
|
||||||
<version>16.11.2.dev</version>
|
<version>16.11.3.dev</version>
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,12 @@ public class MetricsHandler
|
||||||
{
|
{
|
||||||
metrics = new Metrics(plugin);
|
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.
|
//enums and etc. would be amazing.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user