mirror of
https://github.com/songoda/EpicVouchers.git
synced 2024-11-21 17:45:48 +01:00
Removes now no-longer needed #getDependencies
from plugin main class
The core now provides an implementation which returns an empty Set
This commit is contained in:
parent
5b776bf221
commit
57746b195c
@ -4,9 +4,7 @@ import com.craftaro.core.SongodaCore;
|
|||||||
import com.craftaro.core.SongodaPlugin;
|
import com.craftaro.core.SongodaPlugin;
|
||||||
import com.craftaro.core.commands.CommandManager;
|
import com.craftaro.core.commands.CommandManager;
|
||||||
import com.craftaro.core.configuration.Config;
|
import com.craftaro.core.configuration.Config;
|
||||||
import com.craftaro.core.dependency.Dependency;
|
|
||||||
import com.craftaro.core.gui.GuiManager;
|
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.CommandEditor;
|
||||||
import com.craftaro.epicvouchers.commands.CommandEpicVouchers;
|
import com.craftaro.epicvouchers.commands.CommandEpicVouchers;
|
||||||
import com.craftaro.epicvouchers.commands.CommandForce;
|
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.Voucher;
|
||||||
import com.craftaro.epicvouchers.voucher.VoucherExecutor;
|
import com.craftaro.epicvouchers.voucher.VoucherExecutor;
|
||||||
import com.craftaro.epicvouchers.voucher.VoucherManager;
|
import com.craftaro.epicvouchers.voucher.VoucherManager;
|
||||||
|
import com.craftaro.third_party.com.cryptomorin.xseries.XMaterial;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
import org.bukkit.configuration.ConfigurationSection;
|
||||||
@ -35,9 +34,7 @@ import org.bukkit.plugin.PluginManager;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashSet;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
|
||||||
|
|
||||||
public class EpicVouchers extends SongodaPlugin {
|
public class EpicVouchers extends SongodaPlugin {
|
||||||
private final GuiManager guiManager = new GuiManager(this);
|
private final GuiManager guiManager = new GuiManager(this);
|
||||||
@ -57,11 +54,6 @@ public class EpicVouchers extends SongodaPlugin {
|
|||||||
return getPlugin(EpicVouchers.class);
|
return getPlugin(EpicVouchers.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected Set<Dependency> getDependencies() {
|
|
||||||
return new HashSet<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPluginLoad() {
|
public void onPluginLoad() {
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user