* Qasali Ambusher - Fixed possible null pointer exception.

This commit is contained in:
LevelX2 2016-06-05 12:30:47 +02:00
parent 85bc7549fa
commit 89d9762ea1

View file

@ -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;
}
}