- Attempt to fix cards like It that Betrays

This commit is contained in:
swordshine
2014-05-05 04:05:28 +00:00
parent 89cf695545
commit 01d24e1e37

View File

@@ -392,7 +392,7 @@ public class WrappedAbility extends Ability implements ISpellAbility {
if (ev.getValue() instanceof Card) { if (ev.getValue() instanceof Card) {
Card card = (Card) ev.getValue(); Card card = (Card) ev.getValue();
Card current = game.getCardState(card); Card current = game.getCardState(card);
if (current.getTimestamp() != card.getTimestamp()) { if (card.isInPlay() && current.isInPlay() && current.getTimestamp() != card.getTimestamp()) {
sa.getTriggeringObjects().remove(ev.getKey()); sa.getTriggeringObjects().remove(ev.getKey());
} }
} }