update regions when changing mesh
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user