mirror of
https://github.com/BentoBoxWorld/CaveBlock.git
synced 2024-11-12 10:04:01 +01:00
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) {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user