group tele allowe don all city zones

This commit is contained in:
2025-02-08 09:50:48 -06:00
parent 9efde874f3
commit 55923559cd
+10 -10
View File
@@ -221,16 +221,16 @@ public enum PowersManager {
City city = ZoneManager.getCityAtLocation(playerCharacter.loc); City city = ZoneManager.getCityAtLocation(playerCharacter.loc);
if (city == null) { if (city == null) {
failed = true; failed = true;
}else{ }//else{
Bane bane = city.getBane(); // Bane bane = city.getBane();
if (bane == null) { // if (bane == null) {
failed = true; // failed = true;
}else{ // }else{
if(!bane.getSiegePhase().equals(SiegePhase.WAR)){ // if(!bane.getSiegePhase().equals(SiegePhase.WAR)){
failed = true; // failed = true;
} // }
} // }
} //}
if(failed){ if(failed){
//check to see if we are at an active mine //check to see if we are at an active mine
Zone zone = ZoneManager.findSmallestZone(playerCharacter.loc); Zone zone = ZoneManager.findSmallestZone(playerCharacter.loc);