Fix Summary Dismissal (#6263)

This commit is contained in:
tool4ever
2024-10-10 08:34:41 +02:00
committed by GitHub
parent 1bd54d2ca0
commit 6f9cb7c74d
9 changed files with 11 additions and 10 deletions

View File

@@ -1296,7 +1296,7 @@ public class AbilityUtils {
}
}
} else if (defined.startsWith("ValidStack")) {
String valid = changedDef.split(" ", 2)[1];
String[] valid = changedDef.split(" ", 2)[1].split(",");
for (SpellAbilityStackInstance stackInstance : game.getStack()) {
SpellAbility instanceSA = stackInstance.getSpellAbility();
if (instanceSA != null && instanceSA.isValid(valid, player, card, sa)) {