diff --git a/Mage.Sets/src/mage/cards/a/AgentsToolkit.java b/Mage.Sets/src/mage/cards/a/AgentsToolkit.java index 6a5d5f082cef..0fdf780ca3b1 100644 --- a/Mage.Sets/src/mage/cards/a/AgentsToolkit.java +++ b/Mage.Sets/src/mage/cards/a/AgentsToolkit.java @@ -84,8 +84,12 @@ public boolean apply(Game game, Ability source) { } Permanent enteringCreature = (Permanent) enteringObject; - Choice moveCounterChoice = new ChoiceImpl(false); Set possibleCounterNames = new LinkedHashSet<>(agentsToolkitPermanent.getCounters(game).keySet()); + if (possibleCounterNames.isEmpty()) { + return false; + } + + Choice moveCounterChoice = new ChoiceImpl(false); moveCounterChoice.setMessage("Choose counter to move"); moveCounterChoice.setChoices(possibleCounterNames);