From af104dacf0b819ea77e88a8913c65bad9f679261 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 21 Apr 2020 18:22:19 -0400 Subject: [PATCH] fixed The Ozolith not removing counters from itself --- Mage.Sets/src/mage/cards/t/TheOzolith.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/t/TheOzolith.java b/Mage.Sets/src/mage/cards/t/TheOzolith.java index dc813c453a..549d980355 100644 --- a/Mage.Sets/src/mage/cards/t/TheOzolith.java +++ b/Mage.Sets/src/mage/cards/t/TheOzolith.java @@ -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; } -} \ No newline at end of file +}