From 3264191bd5a744031fe030b819f445a83c963028 Mon Sep 17 00:00:00 2001 From: arcox <10953229+arcox@users.noreply.github.com> Date: Thu, 18 Jun 2020 14:19:33 +0000 Subject: [PATCH] Fix issue #6659 - Choking Vines not blocking properly (#6661) --- Mage.Sets/src/mage/cards/c/ChokingVines.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/ChokingVines.java b/Mage.Sets/src/mage/cards/c/ChokingVines.java index 285e78f3b1..91ab935276 100644 --- a/Mage.Sets/src/mage/cards/c/ChokingVines.java +++ b/Mage.Sets/src/mage/cards/c/ChokingVines.java @@ -79,11 +79,14 @@ class ChokingVinesEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { Player controller = game.getPlayer(source.getControllerId()); Targets targets = source.getTargets(); + if (controller != null && !targets.isEmpty()) { for (Target target : targets) { - CombatGroup combatGroup = game.getCombat().findGroup(target.getFirstTarget()); - if (combatGroup != null) { - combatGroup.setBlocked(true, game); + for (UUID id : target.getTargets()) { + CombatGroup combatGroup = game.getCombat().findGroup(id); + if (combatGroup != null) { + combatGroup.setBlocked(true, game); + } } } return true;