forked from MagicBane/Server
Bugfix: needs city parent not current zone to pick up siege bounds.
This commit is contained in:
@@ -330,7 +330,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
|
|||||||
|
|
||||||
// No valid player city found
|
// 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
|
PlaceAssetMsg.sendPlaceAssetError(origin, 52, ""); // Cannot place outisde a guild zone
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user