Fixed NPE error in Escape ability (#7969);

This commit is contained in:
Oleg Agafonov 2021-07-04 22:57:51 +04:00
parent d39d3a06f1
commit 18db51eb4c

View file

@ -68,7 +68,7 @@ class EscapesWithEffect extends OneShotEffect {
private EscapesWithEffect(final EscapesWithEffect effect) { private EscapesWithEffect(final EscapesWithEffect effect) {
super(effect); super(effect);
this.counter = effect.counter; this.counter = effect.counter;
this.delayedTriggeredAbility = effect.delayedTriggeredAbility.copy(); this.delayedTriggeredAbility = (effect.delayedTriggeredAbility == null ? null : effect.delayedTriggeredAbility.copy());
} }
@Override @Override