removed Object[] data

master
melvin 2012-08-30 20:56:23 +08:00
parent 3acd81a667
commit 8df804fc3b
1 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ public class Ajani_s_Mantra {
MagicSimpleMayChoice.GAIN_LIFE,
1,
MagicSimpleMayChoice.DEFAULT_YES),
new Object[]{player},
this,
player + " may$ gain 1 life.") :
MagicEvent.NONE;
@ -35,7 +34,7 @@ public class Ajani_s_Mantra {
final Object data[],
final Object[] choiceResults) {
if (MagicMayChoice.isYesChoice(choiceResults[0])) {
game.doAction(new MagicChangeLifeAction((MagicPlayer)data[0],1));
game.doAction(new MagicChangeLifeAction(event.getPlayer(),1));
}
}
};