Skip to content

Commit

Permalink
fix: wrong arg used in /huskhomes dump confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed Feb 27, 2025
1 parent f0baa04 commit c5b3b1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void execute(@NotNull CommandUser executor, @NotNull String[] args) {
));
}
case "dump" -> {
if (!parseStringArg(args, 0).map(s -> s.equals("confirm")).orElse(false)) {
if (!parseStringArg(args, 1).map(s -> s.equals("confirm")).orElse(false)) {
getPlugin().getLocales().getLocale("system_dump_confirm").ifPresent(executor::sendMessage);
return;
}
Expand Down

0 comments on commit c5b3b1d

Please sign in to comment.