diff --git a/pom.xml b/pom.xml index 7de594d..1811c88 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ org.spigotmc spigot - 1.16.4-R0.1-SNAPSHOT + 1.16.5-R0.1-SNAPSHOT provided @@ -46,7 +46,7 @@ org.bstats bstats-bukkit - 1.5 + 2.2.1 compile diff --git a/src/main/java/nl/pim16aap2/armoredElytra/ArmoredElytra.java b/src/main/java/nl/pim16aap2/armoredElytra/ArmoredElytra.java index 7a19fb6..a718dd3 100644 --- a/src/main/java/nl/pim16aap2/armoredElytra/ArmoredElytra.java +++ b/src/main/java/nl/pim16aap2/armoredElytra/ArmoredElytra.java @@ -55,7 +55,7 @@ public class ArmoredElytra extends JavaPlugin implements Listener if (minecraftVersion.isOlderThan(MinecraftVersion.v1_15)) { myLogger(Level.SEVERE, "Trying to run this plugin on an unsupported version... ABORT!"); - this.setEnabled(false); + setEnabled(false); return; } @@ -83,7 +83,7 @@ public class ArmoredElytra extends JavaPlugin implements Listener if (config.allowStats()) { myLogger(Level.INFO, "Enabling stats! Thanks, it really helps!"); - @SuppressWarnings("unused") final Metrics metrics = new Metrics(this); + @SuppressWarnings("unused") final Metrics metrics = new Metrics(this, 1656); } else // Y u do dis? :(