第65批: 规则限制通知切掉description小尾巴
Auto Release / build (push) Successful in 2m41s

This commit is contained in:
youpaishidifu
2026-10-31 13:44:45 +08:00
parent b0f8c43835
commit a37fa6aa1a
+2 -1
View File
@@ -791,9 +791,10 @@ public class CreditManager {
if (belowThreshold || aboveThreshold) {
String direction = belowThreshold ? "低于阈值" : "高于阈值";
double threshold = belowThreshold ? minScore : maxScore;
String ruleName = (String) rule.get("rule_name");
p.sendMessage("§c§l[信誉积分] §f你的积分 " + formatScore(score) + " " + direction
+ " " + formatScore(threshold) + ","
+ (aboveThreshold ? "§a已触发加成: " : "已触发限制: ") + desc);
+ (aboveThreshold ? "§a已触发加成: §e" : "已触发限制: §e") + ruleName);
}
}
}