From 5ed88aae916c8c78382be2406163e478a89d0a96 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sun, 6 Feb 2022 15:40:49 -0500 Subject: [PATCH] fixed #8662 --- .../mage/abilities/decorator/ConditionalOneShotEffect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/decorator/ConditionalOneShotEffect.java b/Mage/src/main/java/mage/abilities/decorator/ConditionalOneShotEffect.java index 1bad5b3e2e8..d6ea8e16aff 100644 --- a/Mage/src/main/java/mage/abilities/decorator/ConditionalOneShotEffect.java +++ b/Mage/src/main/java/mage/abilities/decorator/ConditionalOneShotEffect.java @@ -50,7 +50,7 @@ public class ConditionalOneShotEffect extends OneShotEffect { // nothing to do - no problem Effects toApply = condition.apply(game, source) ? effects : otherwiseEffects; if (toApply.isEmpty()) { - return false; + return true; } toApply.setTargetPointer(this.targetPointer); toApply.stream().forEach(effect -> effect.apply(game, source)); @@ -63,7 +63,7 @@ public class ConditionalOneShotEffect extends OneShotEffect { } public ConditionalOneShotEffect addOtherwiseEffect(OneShotEffect effect) { - this.effects.add(effect); + this.otherwiseEffects.add(effect); return this; }