Added Admin Settings command using BentoBox 1.6.0 API

This commit is contained in:
tastybento 2019-08-10 11:16:50 -07:00
parent c0dd1e5571
commit 9503537365
2 changed files with 4 additions and 1 deletions

View File

@ -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.AdminSetrankCommand;
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.AdminSwitchtoCommand;
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
@ -87,6 +88,8 @@ public class AdminCommand extends CompositeCommand {
new AdminSwitchCommand(this);
// Purge
new AdminPurgeCommand(this);
// Settings
new AdminSettingsCommand(this);
}
@Override

View File

@ -38,7 +38,7 @@ import world.bentobox.bskyblock.Settings;
@PrepareForTest({Bukkit.class, BentoBox.class, User.class })
public class AdminCommandTest {
private static final int NUM_COMMANDS = 28;
private static final int NUM_COMMANDS = 29;
private User user;
private BSkyBlock addon;