removed player from Object[] data

master
melvin 2012-09-02 11:12:27 +08:00
parent c2c3e7ca19
commit d0c4832411
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ public class Sift {
return new MagicEvent(
cardOnStack.getCard(),
player,
new Object[]{cardOnStack,player},
new Object[]{cardOnStack},
this,
"Draw three cards, then discard a card.");
}
@ -30,7 +30,7 @@ public class Sift {
final Object[] choiceResults) {
final MagicCardOnStack cardOnStack=(MagicCardOnStack)data[0];
game.doAction(new MagicMoveCardAction(cardOnStack));
final MagicPlayer player=(MagicPlayer)data[1];
final MagicPlayer player=event.getPlayer();
game.doAction(new MagicDrawAction(player,3));
game.addEvent(new MagicDiscardEvent(cardOnStack.getCard(),player,1,false));
}