fix: wrong syntax message on `/userdata`

feat/data-edit-commands
William 5 months ago
parent 9aa3606f54
commit 05d588f681
No known key found for this signature in database

@ -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())

Loading…
Cancel
Save