From 97d8cd443dd4d4b0c4268b5b7009668cdcf397ff Mon Sep 17 00:00:00 2001 From: melvin Date: Thu, 30 Aug 2012 22:07:51 +0800 Subject: [PATCH] removed Object[] data --- src/magic/card/Sword_of_Light_and_Shadow.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/magic/card/Sword_of_Light_and_Shadow.java b/src/magic/card/Sword_of_Light_and_Shadow.java index 47780ea627..6edd14f367 100644 --- a/src/magic/card/Sword_of_Light_and_Shadow.java +++ b/src/magic/card/Sword_of_Light_and_Shadow.java @@ -31,7 +31,6 @@ public class Sword_of_Light_and_Shadow { "his or her graveyard to his or her hand.", MagicTargetChoice.TARGET_CREATURE_CARD_FROM_GRAVEYARD), new MagicGraveyardTargetPicker(false), - new Object[]{player}, this, player + " gains 3 life and may$ return target creature card$ " + "from his or her graveyard to his or her hand."): @@ -43,7 +42,7 @@ public class Sword_of_Light_and_Shadow { final MagicEvent event, final Object data[], final Object[] choiceResults) { - game.doAction(new MagicChangeLifeAction((MagicPlayer)data[0],3)); + game.doAction(new MagicChangeLifeAction(event.getPlayer(),3)); if (MagicMayChoice.isYesChoice(choiceResults[0])) { event.processTargetCard(game,choiceResults,1,new MagicCardAction() { public void doAction(final MagicCard card) {