group tele allowe don all city zones
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user