removed Object[] data

master
melvin 2012-08-30 21:09:52 +08:00
parent 64f0caa95b
commit 0b241f36f6
1 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ public class Drelnoch {
MagicSimpleMayChoice.DRAW_CARDS, MagicSimpleMayChoice.DRAW_CARDS,
2, 2,
MagicSimpleMayChoice.DEFAULT_NONE), MagicSimpleMayChoice.DEFAULT_NONE),
new Object[]{player},
this, this,
player + " may$ draw two cards."): player + " may$ draw two cards."):
MagicEvent.NONE; MagicEvent.NONE;
@ -36,7 +35,7 @@ public class Drelnoch {
final Object data[], final Object data[],
final Object[] choiceResults) { final Object[] choiceResults) {
if (MagicMayChoice.isYesChoice(choiceResults[0])) { if (MagicMayChoice.isYesChoice(choiceResults[0])) {
game.doAction(new MagicDrawAction((MagicPlayer)data[0],2)); game.doAction(new MagicDrawAction(event.getPlayer(),2));
} }
} }
}; };