Browse Source

update regions when changing mesh

lakebane-strongholds
FatBoy-DOTC 6 months ago
parent
commit
6605e4dd61
  1. 3
      src/engine/gameManager/StrongholdManager.java

3
src/engine/gameManager/StrongholdManager.java

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

Loading…
Cancel
Save