Add command disabling

This commit is contained in:
William committed 2022-08-22 17:29:58 +01:00
1 parent 632d43d131
commit 6cd2a23770
7 files changed
+59 -12

No files matched your search

@@ -41,7 +41,7 @@ public class BukkitCommand implements CommandExecutor, TabExecutor {
pluginCommand.setDescription(command.getDescription());
pluginCommand.setExecutor(this);
pluginCommand.setTabCompleter(this);
} catch (Exception e) {
} catch (final Exception e) {
e.printStackTrace();
}
}
@@ -3,6 +3,10 @@ package net.william278.huskhomes.command;
import net.william278.huskhomes.BukkitHuskHomes;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
/**
* Commands available on the Bukkit HuskHomes implementation
*/