mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
- used the correct method for checking the source permanent in the last commit
This commit is contained in:
parent
012558b3ae
commit
bdac0b3d72
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class RunicArmasaurTriggeredAbility extends TriggeredAbilityImpl {
|
||||||
if (stackAbility != null
|
if (stackAbility != null
|
||||||
&& stackAbility.getAbilityType() == AbilityType.ACTIVATED
|
&& stackAbility.getAbilityType() == AbilityType.ACTIVATED
|
||||||
&& game.getOpponents(this.getControllerId()).contains(stackAbility.getControllerId())
|
&& game.getOpponents(this.getControllerId()).contains(stackAbility.getControllerId())
|
||||||
&& stackAbility.getSourceObjectIfItStillExists(game).isPermanent()) { // must be a permanent
|
&& stackAbility.getSourcePermanentOrLKI(game) != null) { // must be a permanent
|
||||||
MageObject abilitySourceObject = stackAbility.getSourceObject(game);
|
MageObject abilitySourceObject = stackAbility.getSourceObject(game);
|
||||||
return abilitySourceObject != null
|
return abilitySourceObject != null
|
||||||
&& (abilitySourceObject.isLand()
|
&& (abilitySourceObject.isLand()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue