compile error fixed

This commit is contained in:
Maxmtg
2012-09-28 23:08:27 +00:00
parent 15d3074d84
commit 8213cd3f52

View File

@@ -24,6 +24,7 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import com.google.common.base.Predicate; import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.Iterables; import com.google.common.collect.Iterables;
import forge.AllZone; import forge.AllZone;
@@ -1304,7 +1305,7 @@ public class ComputerUtil {
} }
final CardList hand = AllZone.getComputerPlayer().getCardsIn(ZoneType.Hand); final CardList hand = AllZone.getComputerPlayer().getCardsIn(ZoneType.Hand);
CardList landList = hand.filter(Presets.LANDS); CardList landList = hand.filter(Presets.LANDS);
CardList nonLandList = hand.filter(Presets.NON_LANDS); CardList nonLandList = hand.filter(Predicates.not(CardPredicates.Presets.LANDS));
final CardList lands = computer.getCardsIn(ZoneType.Graveyard); final CardList lands = computer.getCardsIn(ZoneType.Graveyard);
for (final Card crd : lands) { for (final Card crd : lands) {