Commit d0ab5fa5 authored by tester233's avatar tester233 Committed by Melledy
Browse files

Add translation key

parent 263369af
......@@ -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"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment