mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-12-31 17:57:33 +01:00
Added Admin Settings command using BentoBox 1.6.0 API
This commit is contained in:
parent
c0dd1e5571
commit
9503537365
@ -12,6 +12,7 @@ import world.bentobox.bentobox.api.commands.admin.AdminReloadCommand;
|
|||||||
import world.bentobox.bentobox.api.commands.admin.AdminResetFlagsCommand;
|
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.AdminSwitchCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminSwitchCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.AdminSwitchtoCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminSwitchtoCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
|
||||||
@ -87,6 +88,8 @@ public class AdminCommand extends CompositeCommand {
|
|||||||
new AdminSwitchCommand(this);
|
new AdminSwitchCommand(this);
|
||||||
// Purge
|
// Purge
|
||||||
new AdminPurgeCommand(this);
|
new AdminPurgeCommand(this);
|
||||||
|
// Settings
|
||||||
|
new AdminSettingsCommand(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -38,7 +38,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 = 28;
|
private static final int NUM_COMMANDS = 29;
|
||||||
private User user;
|
private User user;
|
||||||
private BSkyBlock addon;
|
private BSkyBlock addon;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user