* Fixed a bug that prevented to display some triggered abilities (concerning human players) to select the order they are going to the stack.

This commit is contained in:
LevelX2 2020-08-30 14:10:24 +02:00
parent 323b4f8880
commit 5eea756e28

View file

@ -1,5 +1,7 @@
package mage.view;
import java.util.*;
import java.util.stream.Collectors;
import mage.MageObject;
import mage.abilities.Ability;
import mage.abilities.effects.Effect;
@ -15,9 +17,6 @@ import mage.target.targetpointer.TargetPointer;
import mage.util.GameLog;
import org.apache.log4j.Logger;
import java.util.*;
import java.util.stream.Collectors;
/**
* @author BetaSteward_at_googlemail.com
*/
@ -88,6 +87,9 @@ public class CardsView extends LinkedHashMap<UUID, CardView> {
isPermanent = true;
break;
case STACK:
case HAND: // Miracle
case LIBRARY:
case OUTSIDE:
sourceObject = game.getObject(ability.getSourceId());
if (sourceObject instanceof Card) {
isCard = true;