removed Object[] data

master
melvin 2012-08-30 21:10:41 +08:00
parent 4c0ce023d0
commit 0899b43ef3
1 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,6 @@ public class Edric__Spymaster_of_Trest {
MagicSimpleMayChoice.DRAW_CARDS,
1,
MagicSimpleMayChoice.DEFAULT_NONE),
new Object[]{player},
this,
player + " may$ draw a card.") :
MagicEvent.NONE;
@ -40,7 +39,7 @@ public class Edric__Spymaster_of_Trest {
final Object data[],
final Object[] choiceResults) {
if (MagicChoice.isYesChoice(choiceResults[0])) {
game.doAction(new MagicDrawAction((MagicPlayer)data[0],1));
game.doAction(new MagicDrawAction(event.getPlayer(),1));
}
}
};