From fa5cdae17e4cf42b028e1f8aaf089fd711f37ace Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 21 May 2024 16:11:35 -0500 Subject: [PATCH] shrine delete button causes rubble pile --- src/engine/net/client/handlers/DestroyBuildingHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/net/client/handlers/DestroyBuildingHandler.java b/src/engine/net/client/handlers/DestroyBuildingHandler.java index df80727a..bf97f9f5 100644 --- a/src/engine/net/client/handlers/DestroyBuildingHandler.java +++ b/src/engine/net/client/handlers/DestroyBuildingHandler.java @@ -74,6 +74,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler { // destorying a shrine will yield a rubble pile for looting if (blueprint.getBuildingGroup() == BuildingGroup.SHRINE) { building.modifyHealth(-building.getHealth(), origin.getPlayerCharacter()); + building.destroyOrDerank(origin.getPlayerCharacter()); return true; }