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