From de134e54f774c48b76e590ef118aff418c723c7b Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 10 Aug 2019 11:21:17 -0700 Subject: [PATCH] Added Admin Settings command using BentoBox 1.6.0 API --- .../world/bentobox/caveblock/commands/AdminCommand.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/caveblock/commands/AdminCommand.java b/src/main/java/world/bentobox/caveblock/commands/AdminCommand.java index d64d77a..d2fd5de 100644 --- a/src/main/java/world/bentobox/caveblock/commands/AdminCommand.java +++ b/src/main/java/world/bentobox/caveblock/commands/AdminCommand.java @@ -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