From 5c45ea5ee2a10cf2c93644c17c8b4f8651e31adc Mon Sep 17 00:00:00 2001 From: Brettflan Date: Fri, 9 Nov 2012 07:44:46 -0600 Subject: [PATCH] Fix for command prevention routine treating Wilderness areas as neutral faction territory in 1.7 branch --- .../massivecraft/factions/listeners/FactionsPlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java b/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java index ef580593..0c48c83d 100644 --- a/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java +++ b/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java @@ -322,7 +322,7 @@ public class FactionsPlayerListener implements Listener } Rel rel = me.getRelationToLocation(); - if (rel.isAtLeast(Rel.TRUCE)) + if (rel.isAtLeast(Rel.TRUCE) || Board.getFactionAt(me.getLastStoodAt()).isNone()) { return false; }