mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
* Your opponents can't cast - fixed game error on some usage (NPE fix)
This commit is contained in:
parent
22552ede47
commit
a7ab25a5b5
1 changed files with 2 additions and 2 deletions
|
@ -65,9 +65,9 @@ public class CantCastOrActivateOpponentsYourTurnEffect extends ContinuousRuleMod
|
|||
case ACTIVATE_ABILITY:
|
||||
Permanent permanent = game.getPermanent(event.getSourceId());
|
||||
return permanent != null
|
||||
&& permanent.isArtifact(game)
|
||||
&& (permanent.isArtifact(game)
|
||||
|| permanent.isCreature(game)
|
||||
|| permanent.isEnchantment(game);
|
||||
|| permanent.isEnchantment(game));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue