Claiming now works again :P

This commit is contained in:
Olof Larsson committed 2011-10-25 22:18:54 +02:00
1 parent 72db45e45e
commit f76311c492
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -550,7 +550,7 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator
{
error = P.p.txt.parse("<b>You can't claim more land! You need more power!");
}
else if (currentFaction.getRelationTo(forFaction).isAtLeast(Rel.TRUCE))
else if (currentFaction.getRelationTo(forFaction).isAtLeast(Rel.TRUCE) && ! currentFaction.isNone())
{
error = P.p.txt.parse("<b>You can't claim this land due to your relation with the current owner.");
}
+1 -1
View File
@@ -102,7 +102,7 @@ public class Factions extends EntityCollection<Faction>
public void setFlagsForWilderness(Faction faction)
{
faction.setFlag(FFlag.PERMANENT, true);
faction.setFlag(FFlag.PEACEFUL, true);
faction.setFlag(FFlag.PEACEFUL, false);
faction.setFlag(FFlag.INFPOWER, true);
faction.setFlag(FFlag.POWERLOSS, true);
faction.setFlag(FFlag.PVP, true);