9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-26 01:59:20 +00:00

fix: wrong syntax message on /userdata

This commit is contained in:
William
2024-06-14 11:51:15 +01:00
parent 9aa3606f54
commit 05d588f681

View File

@@ -99,7 +99,7 @@ public class UserDataCommand extends Command implements TabProvider {
version -> dumpSnapshot(executor, user, version, parseStringArg(args, 3)
.map(arg -> arg.equalsIgnoreCase("web")).orElse(false)),
() -> plugin.getLocales().getLocale("error_invalid_syntax",
"/userdata dump <web/file> <username> <version_uuid>")
"/userdata dump <username> <version_uuid> <web/file>")
.ifPresent(executor::sendMessage)
);
default -> plugin.getLocales().getLocale("error_invalid_syntax", getUsage())