forked from External/mage
* Qasali Ambusher - Fixed possible null pointer exception.
This commit is contained in:
parent
85bc7549fa
commit
89d9762ea1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue