mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Fix Undying not triggering when dying from SBA (#6146)
This commit is contained in:
@@ -28,7 +28,6 @@ import forge.card.MagicColor;
|
||||
import forge.game.Game;
|
||||
import forge.game.GameActionUtil;
|
||||
import forge.game.GameObject;
|
||||
import forge.game.ability.AbilityKey;
|
||||
import forge.game.ability.AbilityUtils;
|
||||
import forge.game.ability.ApiType;
|
||||
import forge.game.ability.effects.CharmEffect;
|
||||
@@ -212,7 +211,7 @@ public class HumanPlaySpellAbility {
|
||||
if (skipStack) {
|
||||
AbilityUtils.resolve(ability);
|
||||
// Should unfreeze stack (but if it was a RE with a cause better to let it be handled by that)
|
||||
if (!ability.isReplacementAbility() || ability.getRootAbility().getReplacingObject(AbilityKey.Cause) == null) {
|
||||
if (!ability.isReplacementAbility()) {
|
||||
game.getStack().unfreezeStack();
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user