From 22b07608b0b02624f2f1bdacc62dc70a6e0d28db Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 4 Feb 2021 16:48:51 -0500 Subject: [PATCH] [KHM] fixed a null pointer exception with Valkmira, Protector's Shield --- Mage.Sets/src/mage/cards/r/ReidaneGodOfTheWorthy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/r/ReidaneGodOfTheWorthy.java b/Mage.Sets/src/mage/cards/r/ReidaneGodOfTheWorthy.java index c5970ed9dd..76a8df0836 100644 --- a/Mage.Sets/src/mage/cards/r/ReidaneGodOfTheWorthy.java +++ b/Mage.Sets/src/mage/cards/r/ReidaneGodOfTheWorthy.java @@ -169,7 +169,7 @@ class ValkmiraProtectorsShieldPreventionEffect extends PreventionEffectImpl { @Override public boolean applies(GameEvent event, Ability source, Game game) { - if (!game.getOpponents(event.getSourceId()).contains(source.getControllerId())) { + if (!game.getOpponents(game.getControllerId(event.getSourceId())).contains(source.getControllerId())) { return false; } switch (event.getType()) {