mirror of
https://github.com/correl/mage.git
synced 2025-01-16 11:08:00 +00:00
Fix Lashknife Barrier effect (#10223)
This commit is contained in:
parent
ae02476170
commit
1eb6645f87
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ class LashknifeBarrierEffect extends ReplacementEffectImpl {
|
|||
|
||||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
Permanent creature = game.getPermanent(event.getTargetId());
|
||||
return creature != null && creature.isPlaneswalker(game) && creature.isControlledBy(source.getControllerId());
|
||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||
return permanent != null && permanent.isCreature(game) && permanent.isControlledBy(source.getControllerId());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue