From 57746b195c4ce46085f89403564687e014bb0078 Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Sat, 13 Jan 2024 22:12:47 +0100 Subject: [PATCH] Removes now no-longer needed `#getDependencies` from plugin main class The core now provides an implementation which returns an empty Set --- .../java/com/craftaro/epicvouchers/EpicVouchers.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main/java/com/craftaro/epicvouchers/EpicVouchers.java b/src/main/java/com/craftaro/epicvouchers/EpicVouchers.java index 7206876..d14e698 100644 --- a/src/main/java/com/craftaro/epicvouchers/EpicVouchers.java +++ b/src/main/java/com/craftaro/epicvouchers/EpicVouchers.java @@ -4,9 +4,7 @@ import com.craftaro.core.SongodaCore; import com.craftaro.core.SongodaPlugin; import com.craftaro.core.commands.CommandManager; import com.craftaro.core.configuration.Config; -import com.craftaro.core.dependency.Dependency; import com.craftaro.core.gui.GuiManager; -import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial; import com.craftaro.epicvouchers.commands.CommandEditor; import com.craftaro.epicvouchers.commands.CommandEpicVouchers; import com.craftaro.epicvouchers.commands.CommandForce; @@ -27,6 +25,7 @@ import com.craftaro.epicvouchers.voucher.CoolDownManager; import com.craftaro.epicvouchers.voucher.Voucher; import com.craftaro.epicvouchers.voucher.VoucherExecutor; import com.craftaro.epicvouchers.voucher.VoucherManager; +import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.configuration.ConfigurationSection; @@ -35,9 +34,7 @@ import org.bukkit.plugin.PluginManager; import java.io.File; import java.util.Collection; import java.util.Collections; -import java.util.HashSet; import java.util.List; -import java.util.Set; public class EpicVouchers extends SongodaPlugin { private final GuiManager guiManager = new GuiManager(this); @@ -57,11 +54,6 @@ public class EpicVouchers extends SongodaPlugin { return getPlugin(EpicVouchers.class); } - @Override - protected Set getDependencies() { - return new HashSet<>(); - } - @Override public void onPluginLoad() { }