From 5dac0da47e35662a6f0cd970ab5aae9d1e7b2cdf Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 20 Apr 2020 22:28:29 -0400 Subject: [PATCH] fixed Crystalline Giant --- Mage.Sets/src/mage/cards/c/CrystallineGiant.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/CrystallineGiant.java b/Mage.Sets/src/mage/cards/c/CrystallineGiant.java index ae7fe3fbf0..47bd468750 100644 --- a/Mage.Sets/src/mage/cards/c/CrystallineGiant.java +++ b/Mage.Sets/src/mage/cards/c/CrystallineGiant.java @@ -16,10 +16,10 @@ import mage.game.Game; import mage.game.permanent.Permanent; import mage.util.RandomUtil; +import java.util.ArrayList; import java.util.EnumSet; import java.util.List; import java.util.UUID; -import java.util.stream.Collectors; /** * @author TheElk801 @@ -89,10 +89,9 @@ class CrystallineGiantEffect extends OneShotEffect { return false; } Counters counters = permanent.getCounters(game); - List counterTypes = counterTypeSet - .stream() - .filter(counterType -> !counters.containsKey(counterType)) - .collect(Collectors.toList()); + List counterTypes = new ArrayList(); + counterTypes.addAll(counterTypeSet); + counterTypes.removeIf(counters::containsKey); if (counterTypes.size() == 0) { return false; }