diff --git a/src/main/java/com/faris/kingkits/helper/api/ActionBarAPI.java b/src/main/java/com/faris/kingkits/helper/api/ActionBarAPI.java index ca2d92c..cfdeadb 100644 --- a/src/main/java/com/faris/kingkits/helper/api/ActionBarAPI.java +++ b/src/main/java/com/faris/kingkits/helper/api/ActionBarAPI.java @@ -56,14 +56,7 @@ public static void initialiseReflection() { initialised = true; } catch (Exception ex) { - try { - String rawVersion = Bukkit.getServer().getClass().getPackage().getName(); - String version = rawVersion.substring(rawVersion.lastIndexOf('.') + 1); - - if (Class.forName("com.faris.gb.helper.nms." + version) == null) ex.printStackTrace(); - } catch (Exception ex2) { - ex.printStackTrace(); - } + ex.printStackTrace(); initialised = false; }