mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Add about menu via new AboutMenu builder, start /huskhomes
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user