1
mirror of https://github.com/carm-outsource/TimeReward.git synced 2026-06-05 01:08:10 +08:00

fix(claim): 修复了每日奖励可能被多次重复领取的bug。

This commit is contained in:
2025-07-04 15:22:37 +08:00
parent 2f5d8c93bd
commit cc451cd1f4
6 changed files with 44 additions and 11 deletions
@@ -91,6 +91,10 @@ public interface PluginMessages extends Configuration {
"&c&l抱歉!&f但您暂时未满足领取奖励 &e%(award) &f的条件。"
).params("award").build();
ConfiguredMessage<BaseComponent[]> ALREADY_CLAIMING = list().defaults(
"&e&l请稍候...&f您当前有正在领取的奖励任务,单次只可领取一份奖励。"
).build();
ConfiguredMessage<BaseComponent[]> NO_UNCLAIMED_REWARD = list().defaults(
"&f您暂时没有未领取的奖励。"
).build();