removed Object[] data

master
melvin 2012-08-30 22:48:47 +08:00
parent ca6b7b3f3f
commit eb5fdb841b
1 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ public class Mask_of_Riddles {
MagicSimpleMayChoice.DRAW_CARDS,
1,
MagicSimpleMayChoice.DEFAULT_NONE),
new Object[] {player},
this,
player + " may$ draw a card.") :
MagicEvent.NONE;
@ -42,7 +41,7 @@ public class Mask_of_Riddles {
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));
}
}
};