mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-27 07:34:27 +00:00
Add translation key
This commit is contained in:
parent
3c2b4f355b
commit
9abe656a46
@ -19,6 +19,11 @@ public final class ResetShopLimitCommand implements CommandHandler {
|
||||
return;
|
||||
}
|
||||
|
||||
if (args.isEmpty()) {
|
||||
CommandHandler.sendMessage(sender, translate(sender, "commands.resetShopLimit.usage"));
|
||||
return;
|
||||
}
|
||||
|
||||
targetPlayer.getShopLimit().forEach(x -> x.setNextRefreshTime(0));
|
||||
targetPlayer.save();
|
||||
CommandHandler.sendMessage(sender, translate(sender, "commands.status.success"));
|
||||
|
Loading…
Reference in New Issue
Block a user