make sure max land setting doesn't apply to factions with infinite power (such as SafeZone and WarZone)
This commit is contained in:
		@@ -580,7 +580,8 @@ 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 (ownedLand >= Conf.claimedLandsMax && Conf.claimedLandsMax != 0) {
 | 
			
		||||
		else if (Conf.claimedLandsMax != 0 && ownedLand >= Conf.claimedLandsMax && ! forFaction.getFlag(FFlag.INFPOWER))
 | 
			
		||||
		{
 | 
			
		||||
			error = P.p.txt.parse("<b>Limit reached. You can't claim more land!");
 | 
			
		||||
		}
 | 
			
		||||
		else if (currentFaction.getRelationTo(forFaction).isAtLeast(Rel.TRUCE) && ! currentFaction.isNone())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user