Removed commands for island trash because they should not be needed.

This commit is contained in:
tastybento 2020-04-06 17:00:00 -07:00
parent 2b4417f245
commit 5b3344498d
2 changed files with 4 additions and 7 deletions

View File

@ -5,7 +5,6 @@ import java.util.List;
import world.bentobox.bentobox.api.addons.Addon; import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.bentobox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bentobox.api.commands.admin.AdminDeleteCommand; import world.bentobox.bentobox.api.commands.admin.AdminDeleteCommand;
import world.bentobox.bentobox.api.commands.admin.AdminEmptyTrashCommand;
import world.bentobox.bentobox.api.commands.admin.AdminGetrankCommand; import world.bentobox.bentobox.api.commands.admin.AdminGetrankCommand;
import world.bentobox.bentobox.api.commands.admin.AdminInfoCommand; import world.bentobox.bentobox.api.commands.admin.AdminInfoCommand;
import world.bentobox.bentobox.api.commands.admin.AdminRegisterCommand; import world.bentobox.bentobox.api.commands.admin.AdminRegisterCommand;
@ -15,9 +14,7 @@ import world.bentobox.bentobox.api.commands.admin.AdminSetrankCommand;
import world.bentobox.bentobox.api.commands.admin.AdminSetspawnCommand; import world.bentobox.bentobox.api.commands.admin.AdminSetspawnCommand;
import world.bentobox.bentobox.api.commands.admin.AdminSettingsCommand; import world.bentobox.bentobox.api.commands.admin.AdminSettingsCommand;
import world.bentobox.bentobox.api.commands.admin.AdminSwitchCommand; import world.bentobox.bentobox.api.commands.admin.AdminSwitchCommand;
import world.bentobox.bentobox.api.commands.admin.AdminSwitchtoCommand;
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand; import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
import world.bentobox.bentobox.api.commands.admin.AdminTrashCommand;
import world.bentobox.bentobox.api.commands.admin.AdminUnregisterCommand; import world.bentobox.bentobox.api.commands.admin.AdminUnregisterCommand;
import world.bentobox.bentobox.api.commands.admin.AdminVersionCommand; import world.bentobox.bentobox.api.commands.admin.AdminVersionCommand;
import world.bentobox.bentobox.api.commands.admin.AdminWhyCommand; import world.bentobox.bentobox.api.commands.admin.AdminWhyCommand;
@ -81,9 +78,9 @@ public class AcidCommand extends CompositeCommand {
// Reset flags // Reset flags
new AdminResetFlagsCommand(this); new AdminResetFlagsCommand(this);
// Trash // Trash
new AdminTrashCommand(this); //new AdminTrashCommand(this);
new AdminEmptyTrashCommand(this); //new AdminEmptyTrashCommand(this);
new AdminSwitchtoCommand(this); //new AdminSwitchtoCommand(this);
// Switch // Switch
new AdminSwitchCommand(this); new AdminSwitchCommand(this);
// Purge // Purge

View File

@ -36,7 +36,7 @@ import world.bentobox.bentobox.managers.FlagsManager;
@PrepareForTest({Bukkit.class, BentoBox.class, User.class }) @PrepareForTest({Bukkit.class, BentoBox.class, User.class })
public class AcidCommandTest { public class AcidCommandTest {
private static final int NUM_COMMANDS = 29; private static final int NUM_COMMANDS = 26;
@Mock @Mock
private User user; private User user;
@Mock @Mock