dont return false for faction check

This commit is contained in:
PhanaticD 2018-12-29 22:57:56 -05:00
parent 5a5355f5ed
commit 32b4d7a60f

View file

@ -1433,7 +1433,9 @@ public class GeneralMethods {
Faction faction = Factions.getFactionAt(location); Faction faction = Factions.getFactionAt(location);
Rel relation = fPlayer.getRelationTo(faction); Rel relation = fPlayer.getRelationTo(faction);
return !(faction.isNone() || fPlayer.getFaction().equals(faction) || relation == Rel.ALLY); if(!(faction.isNone() || fPlayer.getFaction().equals(faction) || relation == Rel.ALLY)){
return true;
}
} }
if (twnp != null && respectTowny) { if (twnp != null && respectTowny) {