From f0bf9aa2ed7c28a1c7e9227e943dde2455a2e5a0 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Wed, 11 Oct 2017 08:44:48 +0200 Subject: [PATCH] Repair land reward task --- src/com/massivecraft/factions/entity/FactionColl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/entity/FactionColl.java b/src/com/massivecraft/factions/entity/FactionColl.java index af50ae79..c9d7d240 100644 --- a/src/com/massivecraft/factions/entity/FactionColl.java +++ b/src/com/massivecraft/factions/entity/FactionColl.java @@ -188,7 +188,7 @@ public class FactionColl extends Coll int landCount = faction.getLandCount(); // ... and if the faction isn't peaceful and has land ... - if (faction.getFlag(flagPeaceful) || landCount > 0) continue; + if (landCount == 0 || faction.getFlag(flagPeaceful)) continue; // ... get the faction's members ... List players = faction.getMPlayers();