Added admin purge command

This commit is contained in:
tastybento 2019-07-19 19:06:36 -07:00
parent 933ed94dee
commit 6488dac1b1
2 changed files with 4 additions and 1 deletions

View File

@ -22,6 +22,7 @@ import world.bentobox.bentobox.api.commands.admin.AdminVersionCommand;
import world.bentobox.bentobox.api.commands.admin.AdminWhyCommand;
import world.bentobox.bentobox.api.commands.admin.blueprints.AdminBlueprintCommand;
import world.bentobox.bentobox.api.commands.admin.deaths.AdminDeathsCommand;
import world.bentobox.bentobox.api.commands.admin.purge.AdminPurgeCommand;
import world.bentobox.bentobox.api.commands.admin.range.AdminRangeCommand;
import world.bentobox.bentobox.api.commands.admin.resets.AdminResetsResetCommand;
import world.bentobox.bentobox.api.commands.admin.team.AdminTeamAddCommand;
@ -85,6 +86,8 @@ public class AcidCommand extends CompositeCommand {
new AdminSwitchtoCommand(this);
// Switch
new AdminSwitchCommand(this);
// Purge
new AdminPurgeCommand(this);
}
@Override

View File

@ -37,7 +37,7 @@ import world.bentobox.bentobox.managers.CommandsManager;
@PrepareForTest({Bukkit.class, BentoBox.class, User.class })
public class AcidCommandTest {
private static final int NUM_COMMANDS = 27;
private static final int NUM_COMMANDS = 28;
private User user;
/**