From 5870b0ed7d19263af88d1a4893f995bbeb5fa253 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 31 May 2014 14:09:21 +0200 Subject: [PATCH] * Tarmogoyf - Fixed a bug that instead of different card types the number of all cards were counted. --- Mage.Sets/src/mage/sets/futuresight/Tarmogoyf.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/sets/futuresight/Tarmogoyf.java b/Mage.Sets/src/mage/sets/futuresight/Tarmogoyf.java index 2f788a4b10..f3c84be8e0 100644 --- a/Mage.Sets/src/mage/sets/futuresight/Tarmogoyf.java +++ b/Mage.Sets/src/mage/sets/futuresight/Tarmogoyf.java @@ -27,7 +27,7 @@ */ package mage.sets.futuresight; -import java.util.ArrayList; +import java.util.HashSet; import java.util.UUID; import mage.MageInt; import mage.MageObject; @@ -45,7 +45,6 @@ import mage.constants.SubLayer; import mage.constants.Zone; import mage.game.Game; import mage.players.Player; -import org.apache.log4j.Logger; /** * @@ -98,7 +97,7 @@ class TarmogoyfEffect extends ContinuousEffectImpl { if (controller != null) { MageObject target = game.getObject(source.getSourceId()); if (target != null) { - ArrayList foundCardTypes = new ArrayList<>(); + HashSet foundCardTypes = new HashSet<>(); for (UUID playerId : controller.getInRange()) { Player player = game.getPlayer(playerId); if (player != null) {