diff --git a/build.gradle.kts b/build.gradle.kts index 56f2ad5..a1d11a5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -88,6 +88,8 @@ tasks { relocate("org.bstats", "me.clip.placeholderapi.metrics") relocate("net.kyori", "me.clip.placeholderapi.libs.kyori") + + exclude("META-INF/versions/**") } test { diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java index 8c85e70..e4af6e0 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java @@ -68,7 +68,6 @@ public final class PlaceholderAPIPlugin extends JavaPlugin { version = 'v' + version.replace('.', '_').replace("_" + minor, "") + '_' + "R" + (minor - 1); } - boolean isSpigot; try { Class.forName("org.spigotmc.SpigotConfig");