mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-11-01 01:42:18 +00:00
dont return false for faction check
This commit is contained in:
parent
5a5355f5ed
commit
32b4d7a60f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue