Skip to content

Commit

Permalink
fix: wrong syntax message on /userdata
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed Jun 14, 2024
1 parent 9aa3606 commit 05d588f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ executor, user, parseIntArg(args, 2).or(() -> parseIntArg(args, 1)).orElse(1)
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())
Expand Down

0 comments on commit 05d588f

Please sign in to comment.