update regions when changing mesh

This commit is contained in:
2024-07-08 21:17:38 -05:00
parent d6239de6fd
commit 6605e4dd61
@@ -118,6 +118,8 @@ public class StrongholdManager {
mine.setActive(true); mine.setActive(true);
tower.setProtectionState(Enum.ProtectionState.PROTECTED); tower.setProtectionState(Enum.ProtectionState.PROTECTED);
tower.getBounds().setRegions(tower);
} }
public static void EndStronghold(Mine mine){ public static void EndStronghold(Mine mine){
@@ -150,6 +152,7 @@ public class StrongholdManager {
mine.setActive(false); mine.setActive(false);
tower.setProtectionState(Enum.ProtectionState.NPC); tower.setProtectionState(Enum.ProtectionState.NPC);
tower.getBounds().setRegions(tower);
} }
public static int getStrongholdMeshID(Zone parent){ public static int getStrongholdMeshID(Zone parent){