Merge fix

This commit is contained in:
Oleg Agafonov 2021-07-25 01:16:12 +04:00
parent c6a3d5e588
commit 1e4f3524a9
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ public class EpicEffect extends OneShotEffect {
if (spell == null) {
return false;
}
spell = spell.copy();
spell = spell.copy(); // it's a fake spell (template), real copy with events in EpicPushEffect
spell.getSpellAbility().getEffects().removeIf(EpicEffect.class::isInstance);
game.addDelayedTriggeredAbility(new AtTheBeginOfYourNextUpkeepDelayedTriggeredAbility(
new EpicPushEffect(spell, rule), Duration.EndOfGame, false