第30批:兑换码拉黑联控(fail:blacklisted 分支提示)

- Sdf1 侧 tryBondRedeem 增加 fail:blacklisted 分支,拉黑玩家兑换码时明确提示
- 对应 Sdf1_login 侧 CDKManager.redeem 的黑名单拦截
This commit is contained in:
ypsdf1
2026-10-21 10:33:40 +08:00
parent 5709a54223
commit e51e365351
+6
View File
@@ -2383,6 +2383,12 @@ public class Main extends JavaPlugin implements Listener, CommandExecutor {
"&c账户已被冻结"));
return true;
}
// ★ 第30批:被拉黑玩家禁止使用兑换码(Java 侧 BlacklistManager 拦截)
if ("fail:blacklisted".equals(res)) {
p.sendMessage(colorize(
"&c你已被拉黑,禁止使用兑换码"));
return true;
}
return false;
} catch (Exception e) {
log("[债券] 反射调用失败: "