From 71a5e4e15a0b5bccd611ed92db91c7cbd9fbc788 Mon Sep 17 00:00:00 2001 From: Samuel Sandeen Date: Sun, 28 Aug 2016 18:21:58 -0400 Subject: [PATCH] Fix Changing the type of spells on the stack --- Mage.Sets/src/mage/sets/timeshifted/Conspiracy.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/timeshifted/Conspiracy.java b/Mage.Sets/src/mage/sets/timeshifted/Conspiracy.java index 6cab7af1be..c6d9ae9edb 100644 --- a/Mage.Sets/src/mage/sets/timeshifted/Conspiracy.java +++ b/Mage.Sets/src/mage/sets/timeshifted/Conspiracy.java @@ -137,9 +137,11 @@ class ConspiracyEffect extends ContinuousEffectImpl { // creature spells you control for (Iterator iterator = game.getStack().iterator(); iterator.hasNext();) { StackObject stackObject = iterator.next(); - if (stackObject.getControllerId().equals(source.getControllerId()) && + if (stackObject instanceof Spell && + stackObject.getControllerId().equals(source.getControllerId()) && stackObject.getCardType().contains(CardType.CREATURE)) { - setCreatureSubtype(stackObject, choice, game); + Card card = ((Spell) stackObject).getCard(); + setCreatureSubtype(card, choice, game); } } // creatures you control