mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed The Ozolith not removing counters from itself
This commit is contained in:
parent
859cd15ac8
commit
af104dacf0
1 changed files with 4 additions and 2 deletions
|
@ -171,9 +171,11 @@ class TheOzolithMoveCountersEffect extends OneShotEffect {
|
|||
return false;
|
||||
}
|
||||
permanent.getCounters(game)
|
||||
.copy()
|
||||
.values()
|
||||
.stream()
|
||||
.forEach(counter -> creature.addCounters(counter, source, game));
|
||||
.filter(counter -> creature.addCounters(counter, source, game))
|
||||
.forEach(counter -> permanent.removeCounters(counter, game));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue