removed Object[] data
parent
1efd0348b2
commit
def341c88b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue