9
0
mirror of https://github.com/Auxilor/EcoMobs.git synced 2025-12-22 16:39:25 +00:00

Updated to eco 5.7.1x

This commit is contained in:
Auxilor
2021-07-09 22:38:24 +02:00
parent a335b5b52e
commit 413d86c2d3

View File

@@ -3,7 +3,6 @@ package com.willfp.ecobosses;
import com.willfp.eco.core.AbstractPacketAdapter;
import com.willfp.eco.core.EcoPlugin;
import com.willfp.eco.core.command.AbstractCommand;
import com.willfp.eco.core.command.impl.PluginCommand;
import com.willfp.eco.core.integrations.IntegrationLoader;
import com.willfp.ecobosses.bosses.EcoBosses;
import com.willfp.ecobosses.bosses.listeners.AttackListeners;
@@ -99,8 +98,13 @@ public class EcoBossesPlugin extends EcoPlugin {
return new ArrayList<>();
}
/**
* EcoEnchants-specific commands.
*
* @return A list of all commands.
*/
@Override
public List<PluginCommand> getPluginCommands() {
public List<AbstractCommand> getCommands() {
return Arrays.asList(
new CommandEbreload(this),
new CommandEbdrop(this),