From 0469754d5d28c1b49674549deebc67cc4bb76389 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 15 Jan 2023 13:00:26 -0500 Subject: [PATCH] Bugfix: needs city parent not current zone to pick up siege bounds. --- src/engine/net/client/handlers/PlaceAssetMsgHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java index 7bd11983..79cc7aa8 100644 --- a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java +++ b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java @@ -330,7 +330,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { // No valid player city found - if (serverCity == null || serverZone.isPlayerCity() == false) { + if (serverCity == null || serverCity.getParent().isPlayerCity() == false) { PlaceAssetMsg.sendPlaceAssetError(origin, 52, ""); // Cannot place outisde a guild zone return false; }