Add about menu via new AboutMenu builder, start /huskhomes

This commit is contained in:
William committed 2022-08-23 23:37:26 +01:00
1 parent 1b0514ae07
commit e3194ba15a
6 files changed
+305 -3

No files matched your search

@@ -52,7 +52,7 @@ public class BukkitCommand implements CommandExecutor, TabExecutor {
if (sender instanceof Player player) {
this.command.onExecute(BukkitPlayer.adapt(player), args);
} else {
if (command instanceof ConsoleExecutable consoleExecutable) {
if (this.command instanceof ConsoleExecutable consoleExecutable) {
consoleExecutable.onConsoleExecute(args);
} else {
plugin.getLocales().getLocale("error_in_game_only").
@@ -37,7 +37,8 @@ public enum BukkitCommandType {
TPA_ALL_COMMAND(new TpaAllCommand(BukkitHuskHomes.getInstance())),
SPAWN_COMMAND(new SpawnCommand(BukkitHuskHomes.getInstance())),
SET_SPAWN_COMMAND(new SetSpawnCommand(BukkitHuskHomes.getInstance())),
BACK_COMMAND(new BackCommand(BukkitHuskHomes.getInstance()));
BACK_COMMAND(new BackCommand(BukkitHuskHomes.getInstance())),
HUSKHOMES_COMMAND(new HuskHomesCommand(BukkitHuskHomes.getInstance()));
public final CommandBase commandBase;