- Fixed Codie, Vociferous Codex. The controller can't cast permanents now.

This commit is contained in:
jeff@delmarus.com 2022-06-03 20:26:28 -05:00
parent a9d1a92abc
commit 95a719225a

View file

@ -83,7 +83,7 @@ class CodieVociferousCodexCantCastEffect extends ContinuousRuleModifyingEffectIm
if (!source.isControlledBy(event.getPlayerId())) { if (!source.isControlledBy(event.getPlayerId())) {
return false; return false;
} }
Card card = game.getCard(event.getTargetId()); Card card = game.getCard(event.getSourceId());
return card != null && card.isPermanent(game); return card != null && card.isPermanent(game);
} }
} }