From d76bd5d422dcf6c2a8e3927788bd0b93aa723bc9 Mon Sep 17 00:00:00 2001 From: melvin Date: Thu, 30 Aug 2012 21:39:18 +0800 Subject: [PATCH] removed Object[] data --- src/magic/card/Goblin_Marshal.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/magic/card/Goblin_Marshal.java b/src/magic/card/Goblin_Marshal.java index fed7f9fa46..5463fd9214 100644 --- a/src/magic/card/Goblin_Marshal.java +++ b/src/magic/card/Goblin_Marshal.java @@ -18,7 +18,6 @@ public class Goblin_Marshal { return new MagicEvent( permanent, player, - new Object[]{player}, this, player + " puts two 1/1 red Goblin creature tokens onto the battlefield."); } @@ -28,7 +27,7 @@ public class Goblin_Marshal { final MagicEvent event, final Object data[], final Object[] choiceResults) { - final MagicPlayer player = (MagicPlayer)data[0]; + final MagicPlayer player = event.getPlayer(); game.doAction(new MagicPlayTokenAction( player, TokenCardDefinitions.get("Goblin1"))); @@ -46,7 +45,6 @@ public class Goblin_Marshal { new MagicEvent( permanent, player, - new Object[]{player}, this, player + " puts two 1/1 red Goblin creature tokens onto the battlefield.") : MagicEvent.NONE; @@ -57,7 +55,7 @@ public class Goblin_Marshal { final MagicEvent event, final Object data[], final Object[] choiceResults) { - final MagicPlayer player = (MagicPlayer)data[0]; + final MagicPlayer player = event.getPlayer(); game.doAction(new MagicPlayTokenAction( player, TokenCardDefinitions.get("Goblin1")));