fix: wrong arg used in /huskhomes dump confirm

This commit is contained in:
William278 committed 2025-02-27 00:10:31 +00:00
1 parent f0baa04e51
commit c5b3b1dbb5
1 file changed
+1 -1
@@ -127,7 +127,7 @@ public class HuskHomesCommand extends Command implements UserListTabCompletable
));
}
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;
}