mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
refactor: remove unused override
This commit is contained in:
3 files changed
+2
-6
No files matched your search
@@ -207,11 +207,6 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes, BukkitTask
|
||||
return Version.fromString(getServer().getBukkitVersion());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDependencyAvailable(@NotNull String name) {
|
||||
return Bukkit.getPluginManager().getPlugin(name) != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<Broker> getBroker() {
|
||||
return Optional.ofNullable(broker);
|
||||
|
||||
@@ -40,7 +40,7 @@ public interface BukkitHookProvider extends HookProvider {
|
||||
getHooks().add(new PlaceholderAPIHook(getPlugin()));
|
||||
}
|
||||
|
||||
// Importers
|
||||
// Importers todo TOO EARLY, race condition as we OMIT EssX on Paper for compat reasons...
|
||||
if (isDependencyAvailable("Essentials")) {
|
||||
getHooks().add(new EssentialsXImporter(getPlugin()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user