Browse Source

stronghold guardian fix

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
2e558acbee
  1. 3
      src/engine/gameManager/StrongholdManager.java

3
src/engine/gameManager/StrongholdManager.java

@ -116,7 +116,7 @@ public class StrongholdManager {
mine.setActive(true); mine.setActive(true);
tower.setProtectionState(Enum.ProtectionState.PROTECTED); tower.setProtectionState(Enum.ProtectionState.PROTECTED);
tower.getBounds().setRegions(tower); tower.getBounds().setRegions(tower);
InterestManager.setObjectDirty(tower);
} }
public static void EndStronghold(Mine mine){ public static void EndStronghold(Mine mine){
@ -150,6 +150,7 @@ public class StrongholdManager {
mine.setActive(false); mine.setActive(false);
tower.setProtectionState(Enum.ProtectionState.NPC); tower.setProtectionState(Enum.ProtectionState.NPC);
tower.getBounds().setRegions(tower); tower.getBounds().setRegions(tower);
InterestManager.setObjectDirty(tower);
} }
public static int getStrongholdMeshID(Zone parent){ public static int getStrongholdMeshID(Zone parent){

Loading…
Cancel
Save