mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Tarmogoyf - Fixed a bug that instead of different card types the number of all cards were counted.
This commit is contained in:
parent
51a493f3f0
commit
5870b0ed7d
1 changed files with 2 additions and 3 deletions
|
@ -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<TarmogoyfEffect> {
|
|||
if (controller != null) {
|
||||
MageObject target = game.getObject(source.getSourceId());
|
||||
if (target != null) {
|
||||
ArrayList<CardType> foundCardTypes = new ArrayList<>();
|
||||
HashSet<CardType> foundCardTypes = new HashSet<>();
|
||||
for (UUID playerId : controller.getInRange()) {
|
||||
Player player = game.getPlayer(playerId);
|
||||
if (player != null) {
|
||||
|
|
Loading…
Reference in a new issue