Add /back

This commit is contained in:
William committed 2022-05-29 10:22:43 +01:00
1 parent 0e33fb8014
commit 5b8352411e
7 files changed
+31 -108

No files matched your search

@@ -139,8 +139,9 @@ public class HuskHomesBukkit extends JavaPlugin implements HuskHomes {
this.savedPositionManager = new SavedPositionManager(database, cache);
// Register commands - todo add all here
final CommandBase[] commands = new CommandBase[]{new HomeCommand(this), new SetHomeCommand(this),
new HomeListCommand(this)};
final CommandBase[] commands = new CommandBase[]{
new HomeCommand(this), new SetHomeCommand(this),
new HomeListCommand(this), new BackCommand(this)};
for (CommandBase commandBase : commands) {
final PluginCommand pluginCommand = getCommand(commandBase.command);
if (pluginCommand != null) {
+3 -1
View File
@@ -10,4 +10,6 @@ commands:
sethome:
usage: /sethome <name>
homelist:
usage: /homelist [page]
usage: /homelist [page]
back:
usage: /back