mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +00:00
fix: wrong arg used in /huskhomes dump confirm
This commit is contained in:
1 parent
f0baa04e51
commit
c5b3b1dbb5
1 file changed
+1
-1
@@ -127,7 +127,7 @@ public class HuskHomesCommand extends Command implements UserListTabCompletable
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
case "dump" -> {
|
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);
|
getPlugin().getLocales().getLocale("system_dump_confirm").ifPresent(executor::sendMessage);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user