Fix for command prevention routine treating Wilderness areas as neutral faction territory in 1.7 branch

This commit is contained in:
Brettflan 2012-11-09 07:44:46 -06:00
parent 3a68820016
commit 5c45ea5ee2

View File

@ -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;
}