mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08: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;
|
package mage.view;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
import java.util.stream.Collectors;
|
||||||
import mage.MageObject;
|
import mage.MageObject;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.effects.Effect;
|
import mage.abilities.effects.Effect;
|
||||||
|
|
@ -15,9 +17,6 @@ import mage.target.targetpointer.TargetPointer;
|
||||||
import mage.util.GameLog;
|
import mage.util.GameLog;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
import java.util.*;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author BetaSteward_at_googlemail.com
|
* @author BetaSteward_at_googlemail.com
|
||||||
*/
|
*/
|
||||||
|
|
@ -88,6 +87,9 @@ public class CardsView extends LinkedHashMap<UUID, CardView> {
|
||||||
isPermanent = true;
|
isPermanent = true;
|
||||||
break;
|
break;
|
||||||
case STACK:
|
case STACK:
|
||||||
|
case HAND: // Miracle
|
||||||
|
case LIBRARY:
|
||||||
|
case OUTSIDE:
|
||||||
sourceObject = game.getObject(ability.getSourceId());
|
sourceObject = game.getObject(ability.getSourceId());
|
||||||
if (sourceObject instanceof Card) {
|
if (sourceObject instanceof Card) {
|
||||||
isCard = true;
|
isCard = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue