mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
* 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:
parent
323b4f8880
commit
5eea756e28
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue