mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 17:43:01 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (args.isEmpty()) {
|
||||||
|
CommandHandler.sendMessage(sender, translate(sender, "commands.resetShopLimit.usage"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
targetPlayer.getShopLimit().forEach(x -> x.setNextRefreshTime(0));
|
targetPlayer.getShopLimit().forEach(x -> x.setNextRefreshTime(0));
|
||||||
targetPlayer.save();
|
targetPlayer.save();
|
||||||
CommandHandler.sendMessage(sender, translate(sender, "commands.status.success"));
|
CommandHandler.sendMessage(sender, translate(sender, "commands.status.success"));
|
||||||
|
Loading…
Reference in New Issue
Block a user