diff --git a/forge-game/src/main/java/forge/game/ability/effects/CountersPutEffect.java b/forge-game/src/main/java/forge/game/ability/effects/CountersPutEffect.java index 1dad1191eef..d050796c13f 100644 --- a/forge-game/src/main/java/forge/game/ability/effects/CountersPutEffect.java +++ b/forge-game/src/main/java/forge/game/ability/effects/CountersPutEffect.java @@ -162,14 +162,17 @@ public class CountersPutEffect extends SpellAbilityEffect { chooser = choosers.get(0); } - CardCollection choices = new CardCollection(game.getCardsIn(choiceZone)); - int n = AbilityUtils.calculateAmount(sa.getHostCard(), sa.getParamOrDefault("ChoiceAmount", "1"), sa); int m = AbilityUtils.calculateAmount(sa.getHostCard(), sa.getParamOrDefault("MinChoiceAmount", sa.getParamOrDefault("ChoiceAmount", "1")), sa); - choices = CardLists.getValidCards(choices, sa.getParam("Choices"), activator, card, sa); + // no choices allowed + if (n <= 0) { + return; + } + + CardCollection choices = CardLists.getValidCards(game.getCardsIn(choiceZone), sa.getParam("Choices"), activator, card, sa); String title = Localizer.getInstance().getMessage("lblChooseaCard") + " "; if (sa.hasParam("ChoiceTitle")) {