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;
}
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;
}
}