forked from External/mage
Replaced use of source.getId() by source.getSourceId() for Mage Framework.
This commit is contained in:
parent
8b4c454f1f
commit
3bbbd4c02b
33 changed files with 47 additions and 45 deletions
|
|
@ -70,7 +70,7 @@ public class DestroyMultiTargetEffect extends OneShotEffect {
|
|||
for (UUID permanentId: target.getTargets()) {
|
||||
Permanent permanent = game.getPermanent(permanentId);
|
||||
if (permanent != null) {
|
||||
permanent.destroy(source.getId(), game, noRegen);
|
||||
permanent.destroy(source.getSourceId(), game, noRegen);
|
||||
affectedTargets++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue