Browse Source

destroyed BoW no longer count towards total available assets

master
FatBoy-DOTC 2 years ago
parent
commit
7817b4cd49
  1. 4
      src/engine/net/client/handlers/PlaceAssetMsgHandler.java

4
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())) if (!building.getGuild().equals(serverCity.getGuild()) && !building.getGuild().equals(serverCity.getBane().getOwner().getGuild()))
continue; continue;
if (building.getRank() < 0) {
continue;
}
if (building.getGuild().equals(serverCity.getGuild())) if (building.getGuild().equals(serverCity.getGuild()))
defenderBuildings.add(building); defenderBuildings.add(building);

Loading…
Cancel
Save