Change EnchantAbility parameter from String to Target (#9588)

This commit is contained in:
Alex W. Jackson 2022-09-29 10:29:48 -04:00 committed by GitHub
parent 57efc02710
commit c9a7aedfb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1082 changed files with 1152 additions and 1152 deletions

View file

@ -100,7 +100,7 @@ class AnimateDeadReplaceAbilityEffect extends ContinuousEffectImpl implements So
FilterCreaturePermanent filter = new FilterCreaturePermanent("creature put onto the battlefield with {this}");
filter.add(new AnimateDeadPredicate(source.getSourceId()));
newTarget = new TargetCreaturePermanent(filter);
newAbility = new EnchantAbility(newTarget.getTargetName());
newAbility = new EnchantAbility(newTarget);
}
@Override