From 7817b4cd49d03086f47780e86fd48f528f002024 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 4 Feb 2023 21:43:53 -0600 Subject: [PATCH] destroyed BoW no longer count towards total available assets --- src/engine/net/client/handlers/PlaceAssetMsgHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java index 98e225d1..b7889309 100644 --- a/src/engine/net/client/handlers/PlaceAssetMsgHandler.java +++ b/src/engine/net/client/handlers/PlaceAssetMsgHandler.java @@ -436,7 +436,9 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { if (!building.getGuild().equals(serverCity.getGuild()) && !building.getGuild().equals(serverCity.getBane().getOwner().getGuild())) continue; - + if (building.getRank() < 0) { + continue; + } if (building.getGuild().equals(serverCity.getGuild())) defenderBuildings.add(building);