mirror of
https://github.com/correl/mage.git
synced 2025-04-05 09:12:29 -09:00
minor fix
This commit is contained in:
parent
cd8f0ae2fe
commit
1b7f94970f
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ class LeaveNoTraceEffect extends OneShotEffect<LeaveNoTraceEffect> {
|
|||
Permanent target = game.getPermanent(targetPointer.getFirst(source));
|
||||
if (target != null) {
|
||||
ObjectColor color = target.getColor();
|
||||
target.destroy(source.getSourceId(), game, false);
|
||||
for (Permanent p : game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game)) {
|
||||
if (p.getColor().shares(color)) {
|
||||
p.destroy(source.getSourceId(), game, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue