mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 02:52:02 -08:00
Fixed #13106
This commit is contained in:
parent
5df9127e01
commit
e3a94c8adf
1 changed files with 2 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ class PolJamaarIllusionistEffect extends OneShotEffect {
|
||||||
}
|
}
|
||||||
ChoiceCreatureType choice = new ChoiceCreatureType(game, source);
|
ChoiceCreatureType choice = new ChoiceCreatureType(game, source);
|
||||||
player.choose(outcome, choice, game);
|
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) {
|
if (subType == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue