feat: don't check if dependency is loaded

feat/data-edit-commands
William 5 months ago
parent 0b29de9efc
commit 8862e6cd70
No known key found for this signature in database

@ -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

Loading…
Cancel
Save