mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed sourceId reference of Strip Bare.
This commit is contained in:
parent
e5106cc3f4
commit
570cfe242b
1 changed files with 2 additions and 2 deletions
|
@ -98,10 +98,10 @@ class StripBareEffect extends OneShotEffect<StripBareEffect> {
|
||||||
for (Permanent attachment : game.getBattlefield().getAllActivePermanents(filter, game)) {
|
for (Permanent attachment : game.getBattlefield().getAllActivePermanents(filter, game)) {
|
||||||
if (attachment != null
|
if (attachment != null
|
||||||
&& targetCreature.getAttachments().contains(attachment.getId())) {
|
&& targetCreature.getAttachments().contains(attachment.getId())) {
|
||||||
applied = attachment.destroy(source.getId(), game, false);
|
applied = attachment.destroy(source.getSourceId(), game, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return applied;
|
return applied;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue