From fe97f7c948e32ce0ce31b4cd23b5413965745fa1 Mon Sep 17 00:00:00 2001 From: melvin Date: Thu, 30 Aug 2012 21:00:41 +0800 Subject: [PATCH] removed Object[] data --- src/magic/card/Bottle_Gnomes.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/magic/card/Bottle_Gnomes.java b/src/magic/card/Bottle_Gnomes.java index dd93ff4a52..88b9182780 100644 --- a/src/magic/card/Bottle_Gnomes.java +++ b/src/magic/card/Bottle_Gnomes.java @@ -28,7 +28,6 @@ public class Bottle_Gnomes { return new MagicEvent( source, player, - new Object[]{player}, this, player + " gains 3 life."); } @@ -38,7 +37,7 @@ public class Bottle_Gnomes { final MagicEvent event, final Object[] data, final Object[] choiceResults) { - game.doAction(new MagicChangeLifeAction((MagicPlayer)data[0],3)); + game.doAction(new MagicChangeLifeAction(event.getPlayer(),3)); } }; }