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