[STX] fixed Lukka, Wayward Bonder emblem not damaging players

This commit is contained in:
Evan Kranzler 2022-01-27 20:13:44 -05:00
parent ed1db71474
commit 47bbb70675

View file

@ -57,8 +57,8 @@ class LukkaWaywardBonderEmblemEffect extends OneShotEffect {
return targetPermanent.damage(permanent.getPower().getValue(), permanent.getId(), source, game) > 0;
}
Player targetPlayer = game.getPlayer(source.getFirstTarget());
if (targetPermanent != null) {
return targetPermanent.damage(permanent.getPower().getValue(), permanent.getId(), source, game) > 0;
if (targetPlayer != null) {
return targetPlayer.damage(permanent.getPower().getValue(), permanent.getId(), source, game) > 0;
}
return false;
}