Fixed issue with Baral And Kari Zev (#10299)

Fixes magefree/mage#10295
This commit is contained in:
Alexander Novotny 2023-04-30 15:58:46 -07:00 committed by GitHub
parent 8ed8b5c363
commit c270e5f20e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ class BaralAndKariZevTriggeredAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
Spell spell = game.getSpell(event.getId());
Spell spell = game.getSpell(event.getTargetId());
if (spell == null || !spell.isInstantOrSorcery(game)) {
return false;
}