Add missing syntax error for /huskhomes command

This commit is contained in:
William278 committed 2022-09-06 00:00:21 +03:00
1 parent fb20325f92
commit 50289d9ca5
1 file changed
+2
@@ -108,6 +108,8 @@ public class HuskHomesCommand extends CommandBase implements ConsoleExecutable,
} }
case "migrate" -> plugin.getLocales().getLocale("error_console_command_only") case "migrate" -> plugin.getLocales().getLocale("error_console_command_only")
.ifPresent(onlineUser::sendMessage); .ifPresent(onlineUser::sendMessage);
default -> plugin.getLocales().getLocale("error_invalid_syntax", "/huskhomes [about|help|reload|update]")
.ifPresent(onlineUser::sendMessage);
} }
} }