From 32b4d7a60f31b8b27123755460ec1f03f14e9be8 Mon Sep 17 00:00:00 2001 From: PhanaticD Date: Sat, 29 Dec 2018 22:57:56 -0500 Subject: [PATCH] dont return false for faction check --- src/com/projectkorra/projectkorra/GeneralMethods.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/projectkorra/projectkorra/GeneralMethods.java b/src/com/projectkorra/projectkorra/GeneralMethods.java index ef88f972..e5a98de6 100644 --- a/src/com/projectkorra/projectkorra/GeneralMethods.java +++ b/src/com/projectkorra/projectkorra/GeneralMethods.java @@ -1433,7 +1433,9 @@ public class GeneralMethods { Faction faction = Factions.getFactionAt(location); 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) {