Fix NPE with Brilliant Ultimatum

This commit is contained in:
TRT
2024-08-23 11:34:14 +02:00
committed by Hans Mackowiak
parent 76f4113fb7
commit 45b333b8ac
2 changed files with 3 additions and 2 deletions

View File

@@ -2954,6 +2954,7 @@ public class AbilityUtils {
for (SpellAbility s : list) { for (SpellAbility s : list) {
if (s.isLandAbility()) { if (s.isLandAbility()) {
s.setActivatingPlayer(controller);
// CR 305.3 // CR 305.3
if (controller.getGame().getPhaseHandler().isPlayerTurn(controller) && controller.canPlayLand(tgtCard, true, s)) { if (controller.getGame().getPhaseHandler().isPlayerTurn(controller) && controller.canPlayLand(tgtCard, true, s)) {
sas.add(s); sas.add(s);