fix #11736 (Eldritch Pact)

This commit is contained in:
xenohedron 2024-02-09 22:35:54 -05:00
parent 16a8efa7ea
commit f2d2252e69

View file

@ -53,7 +53,7 @@ class EldritchPactEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
Player player = game.getPlayer(getTargetPointer().getFirst(game, source));
if (player == null) {
return false;
}