This commit is contained in:
Jeff Wadsworth 2024-12-04 14:23:25 -06:00
parent 5df9127e01
commit e3a94c8adf

View file

@ -74,7 +74,8 @@ class PolJamaarIllusionistEffect extends OneShotEffect {
}
ChoiceCreatureType choice = new ChoiceCreatureType(game, source);
player.choose(outcome, choice, game);
SubType subType = SubType.byDescription(choice.getChoice());
// must use choice.getChoiceKey() so that actual subtype is used
SubType subType = SubType.byDescription(choice.getChoiceKey());
if (subType == null) {
return false;
}