Bugfix: needs city parent not current zone to pick up siege bounds.

This commit is contained in:
2023-01-15 13:00:26 -05:00
parent 68294baae6
commit 0469754d5d
@@ -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;
}