Add delhome and delwarp

This commit is contained in:
William committed 2022-06-12 00:39:26 +01:00
1 parent 12f1823662
commit 970941b21b
6 files changed
+170 -7

No files matched your search

@@ -177,8 +177,8 @@ public class HuskHomesBukkit extends JavaPlugin implements HuskHomes {
// Register commands - todo add all here
getLogger().log(Level.INFO, "Registering commands...");
final CommandBase[] commands = new CommandBase[]{
new HomeCommand(this), new SetHomeCommand(this), new HomeListCommand(this),
new WarpCommand(this), new SetWarpCommand(this), new WarpListCommand(this),
new HomeCommand(this), new SetHomeCommand(this), new HomeListCommand(this), new DelHomeCommand(this),
new WarpCommand(this), new SetWarpCommand(this), new WarpListCommand(this), new DelWarpCommand(this),
new BackCommand(this)};
for (CommandBase commandBase : commands) {
final PluginCommand pluginCommand = getCommand(commandBase.command);