From cd55105b2802b832be76a533a221d86586ae8187 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 5 Jun 2022 17:27:40 -0500 Subject: [PATCH] spire effects extend to siege bounds --- src/engine/objects/City.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/City.java b/src/engine/objects/City.java index 09a13bd2..0d8a4ef1 100644 --- a/src/engine/objects/City.java +++ b/src/engine/objects/City.java @@ -1017,7 +1017,7 @@ public class City extends AbstractWorldObject { if (_playerMemory.contains(player.getObjectUUID())) continue; - if (!this.isLocationOnCityZone(player.getLoc())) + if (!this.isLocationWithinSiegeBounds(player.getLoc())) continue; // Apply safehold affect to player if needed @@ -1062,7 +1062,8 @@ public class City extends AbstractWorldObject { player = PlayerCharacter.getFromCache(playerUUID); - if (this.isLocationOnCityZone(player.getLoc())) + + if (this.isLocationWithinSiegeBounds(player.getLoc())) continue; // Remove players safezone status if warranted