Added Admin Settings command using BentoBox 1.6.0 API
This commit is contained in:
parent
f07ca3e1c7
commit
de134e54f7
|
@ -22,8 +22,8 @@ public class AdminCommand extends CompositeCommand {
|
||||||
|
|
||||||
public AdminCommand(CaveBlock addon) {
|
public AdminCommand(CaveBlock addon) {
|
||||||
super(addon,
|
super(addon,
|
||||||
addon.getSettings().getAdminCommand().split(" ")[0],
|
addon.getSettings().getAdminCommand().split(" ")[0],
|
||||||
addon.getSettings().getAdminCommand().split(" "));
|
addon.getSettings().getAdminCommand().split(" "));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -73,6 +73,8 @@ public class AdminCommand extends CompositeCommand {
|
||||||
|
|
||||||
// Switch
|
// Switch
|
||||||
new AdminSwitchCommand(this);
|
new AdminSwitchCommand(this);
|
||||||
|
// Settings
|
||||||
|
new AdminSettingsCommand(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue