mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-12-28 17:27:35 +01:00
Merge branch 'develop' of https://github.com/BentoBoxWorld/BSkyBlock.git into develop
This commit is contained in:
commit
9f702b187f
@ -4,7 +4,6 @@ import java.util.List;
|
|||||||
|
|
||||||
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;
|
||||||
@ -13,10 +12,7 @@ import world.bentobox.bentobox.api.commands.admin.AdminResetFlagsCommand;
|
|||||||
import world.bentobox.bentobox.api.commands.admin.AdminSetrankCommand;
|
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.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,11 +77,11 @@ public class AdminCommand 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
|
||||||
new AdminPurgeCommand(this);
|
new AdminPurgeCommand(this);
|
||||||
// Settings
|
// Settings
|
||||||
|
@ -40,7 +40,7 @@ import world.bentobox.bskyblock.Settings;
|
|||||||
@PrepareForTest({Bukkit.class, BentoBox.class, User.class })
|
@PrepareForTest({Bukkit.class, BentoBox.class, User.class })
|
||||||
public class AdminCommandTest {
|
public class AdminCommandTest {
|
||||||
|
|
||||||
private static final int NUM_COMMANDS = 29;
|
private static final int NUM_COMMANDS = 25;
|
||||||
@Mock
|
@Mock
|
||||||
private User user;
|
private User user;
|
||||||
@Mock
|
@Mock
|
||||||
|
Loading…
Reference in New Issue
Block a user