Use client error 74 for warehouse placement during a bane

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MagicBotandClaude Opus 5.5 committed 2026-10-18 10:14:37 -04:00
1 parent c97b4d7c3d
commit 9db194889f
1 file changed
+1 -1
@@ -538,7 +538,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
bane = cityObject.getBane();
if (bane != null) {
PlaceAssetMsg.sendPlaceAssetError(origin, 1, "Cannot place a warehouse during an active bane.");
PlaceAssetMsg.sendPlaceAssetError(origin, 74, ""); //"Only buildings of war may be placed during a bane"
return false;
}