Browse Source

cant delete buildings when baned

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
dd834a3104
  1. 2
      src/engine/net/client/handlers/DestroyBuildingHandler.java

2
src/engine/net/client/handlers/DestroyBuildingHandler.java

@ -62,7 +62,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler { @@ -62,7 +62,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
if (city != null)
bane = city.getBane();
if (bane != null && bane.getSiegePhase() == Enum.SiegePhase.WAR) {
if (bane != null){// && bane.getSiegePhase() == Enum.SiegePhase.WAR) {
ErrorPopupMsg.sendErrorPopup(pc, 171);
return true;
}

Loading…
Cancel
Save