removed Object[] data

master
melvin 2012-09-06 22:16:07 +08:00
parent 1efd0348b2
commit def341c88b
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@ public class Novablast_Wurm {
new MagicEvent( new MagicEvent(
permanent, permanent,
permanent.getController(), permanent.getController(),
new Object[]{permanent},
this, this,
"Destroy all creatures other than " + permanent + ".") : "Destroy all creatures other than " + permanent + ".") :
MagicEvent.NONE; MagicEvent.NONE;
@ -31,7 +30,7 @@ public class Novablast_Wurm {
final MagicEvent event, final MagicEvent event,
final Object data[], final Object data[],
final Object[] choiceResults) { final Object[] choiceResults) {
final MagicPermanent permanent=(MagicPermanent)data[0]; final MagicPermanent permanent=event.getPermanent();
final MagicTargetFilter targetFilter = final MagicTargetFilter targetFilter =
new MagicTargetFilter.MagicOtherPermanentTargetFilter( new MagicTargetFilter.MagicOtherPermanentTargetFilter(
MagicTargetFilter.TARGET_CREATURE,permanent); MagicTargetFilter.TARGET_CREATURE,permanent);