From 8862e6cd700fff2ef0e5c94f12d52b71852c8c1f Mon Sep 17 00:00:00 2001 From: William Date: Mon, 24 Jun 2024 19:53:13 +0100 Subject: [PATCH] feat: don't check if dependency is loaded --- .../src/main/java/net/william278/husksync/BukkitHuskSync.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/net/william278/husksync/BukkitHuskSync.java b/bukkit/src/main/java/net/william278/husksync/BukkitHuskSync.java index 702597dd..979576c4 100644 --- a/bukkit/src/main/java/net/william278/husksync/BukkitHuskSync.java +++ b/bukkit/src/main/java/net/william278/husksync/BukkitHuskSync.java @@ -290,7 +290,7 @@ public class BukkitHuskSync extends JavaPlugin implements HuskSync, BukkitTask.S @Override public boolean isDependencyLoaded(@NotNull String name) { final Plugin plugin = getServer().getPluginManager().getPlugin(name); - return plugin != null && plugin.isEnabled(); + return plugin != null; } // Register bStats metrics