Added Admin Settings command using BentoBox 1.6.0 API

This commit is contained in:
tastybento 2019-08-10 11:21:17 -07:00
parent f07ca3e1c7
commit de134e54f7

View File

@ -22,8 +22,8 @@ public class AdminCommand extends CompositeCommand {
public AdminCommand(CaveBlock addon) {
super(addon,
addon.getSettings().getAdminCommand().split(" ")[0],
addon.getSettings().getAdminCommand().split(" "));
addon.getSettings().getAdminCommand().split(" ")[0],
addon.getSettings().getAdminCommand().split(" "));
}
@Override
@ -73,6 +73,8 @@ public class AdminCommand extends CompositeCommand {
// Switch
new AdminSwitchCommand(this);
// Settings
new AdminSettingsCommand(this);
}
@Override