修复提示错误

This commit is contained in:
zhangyuheng 2024-07-04 10:13:18 +08:00
parent 0d714a402b
commit 4498267c50

View File

@ -831,7 +831,7 @@ public class DominionController {
level++; level++;
} }
if (level >= Dominion.config.getLimitDepth()) { if (level >= Dominion.config.getLimitDepth()) {
operator.setResponse(FAIL.addMessage("子领地嵌套深度不能超过 %s", Dominion.config.getLimitDepth())); operator.setResponse(FAIL.addMessage("子领地嵌套深度不能超过 %d", Dominion.config.getLimitDepth()));
return true; return true;
} }
return false; return false;