removed Object[] data

master
melvin 2012-08-30 21:00:14 +08:00
parent 30ac581d79
commit db7221f807
1 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ public class Blistergrub {
new MagicEvent( new MagicEvent(
permanent, permanent,
player, player,
new Object[]{player},
this, this,
player.getOpponent()+ " loses 2 life."): player.getOpponent()+ " loses 2 life."):
MagicEvent.NONE; MagicEvent.NONE;
@ -29,7 +28,7 @@ public class Blistergrub {
final MagicEvent event, final MagicEvent event,
final Object data[], final Object data[],
final Object[] choiceResults) { final Object[] choiceResults) {
final MagicPlayer player=(MagicPlayer)data[0]; final MagicPlayer player=event.getPlayer();
game.doAction(new MagicChangeLifeAction(player.getOpponent(),-2)); game.doAction(new MagicChangeLifeAction(player.getOpponent(),-2));
} }
}; };