removed Object[] data
parent
ca6b7b3f3f
commit
eb5fdb841b
|
@ -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));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue