mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 04:03:22 +08:00
Add translation key
This commit is contained in:
parent
263369af9a
commit
d0ab5fa5df
@ -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