fixed The Ozolith not removing counters from itself

This commit is contained in:
Evan Kranzler 2020-04-21 18:22:19 -04:00
parent 859cd15ac8
commit af104dacf0

View file

@ -171,9 +171,11 @@ class TheOzolithMoveCountersEffect extends OneShotEffect {
return false; return false;
} }
permanent.getCounters(game) permanent.getCounters(game)
.copy()
.values() .values()
.stream() .stream()
.forEach(counter -> creature.addCounters(counter, source, game)); .filter(counter -> creature.addCounters(counter, source, game))
.forEach(counter -> permanent.removeCounters(counter, game));
return true; return true;
} }
} }