From 89d9762ea1e8d59518e73d0173f54819ca4ee9d4 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 5 Jun 2016 12:30:47 +0200 Subject: [PATCH] * Qasali Ambusher - Fixed possible null pointer exception. --- Mage.Sets/src/mage/sets/shardsofalara/QasaliAmbusher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/sets/shardsofalara/QasaliAmbusher.java b/Mage.Sets/src/mage/sets/shardsofalara/QasaliAmbusher.java index 63992c1f023..b06920e3459 100644 --- a/Mage.Sets/src/mage/sets/shardsofalara/QasaliAmbusher.java +++ b/Mage.Sets/src/mage/sets/shardsofalara/QasaliAmbusher.java @@ -111,7 +111,7 @@ class QasaliAmbusherAbility extends ActivatedAbilityImpl { if (game.getBattlefield().getActivePermanents(filterPlains, this.getControllerId(), this.getSourceId(), game).size() > 0 && game.getBattlefield().getActivePermanents(filterForest, this.getControllerId(), this.getSourceId(), game).size() > 0) { for (CombatGroup group : game.getCombat().getGroups()) { - if (group.getDefenderId().equals(getControllerId())) { + if (getControllerId().equals(group.getDefenderId())) { return true; } }