removed Object[] data

master
melvin 2012-08-30 20:52:01 +08:00
parent 52acf38e12
commit fff30dde04
1 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ public class Wurm_s_Tooth {
MagicSimpleMayChoice.GAIN_LIFE,
1,
MagicSimpleMayChoice.DEFAULT_YES),
new Object[]{player},
this,
player + " may$ gain 1 life.") :
MagicEvent.NONE;
@ -37,7 +36,7 @@ public class Wurm_s_Tooth {
@Override
public void executeEvent(final MagicGame game,final MagicEvent event,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));
}
}
};