Chandra, Awakened Inferno - fixed game error on emblem usage

This commit is contained in:
Oleg Agafonov 2023-12-16 02:23:47 +04:00
parent 60730dff47
commit 150d76dcf9

View file

@ -90,7 +90,7 @@ class ChandraAwakenedInfernoEffect extends OneShotEffect {
@Override @Override
public boolean apply(Game game, Ability source) { public boolean apply(Game game, Ability source) {
for (UUID playerId : game.getOpponents(source.getControllerId())) { for (UUID playerId : game.getOpponents(source.getControllerId())) {
game.addEmblem(new ChandraAwakenedInfernoEmblem(), source.getSourceObjectIfItStillExists(game), playerId); game.addEmblem(new ChandraAwakenedInfernoEmblem(), source.getSourceObject(game), playerId);
} }
return true; return true;
} }