mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
ConniveEffect.resolve avoid potential infinite loop
This commit is contained in:
@@ -75,7 +75,7 @@ public class ConniveEffect extends SpellAbilityEffect {
|
|||||||
moveParams.put(AbilityKey.LastStateGraveyard, sa.getLastStateGraveyard());
|
moveParams.put(AbilityKey.LastStateGraveyard, sa.getLastStateGraveyard());
|
||||||
|
|
||||||
Card conniver = connivers.size() > 1 ? p.getController().chooseSingleEntityForEffect(connivers, sa,
|
Card conniver = connivers.size() > 1 ? p.getController().chooseSingleEntityForEffect(connivers, sa,
|
||||||
Localizer.getInstance().getMessage("lblChooseConniver"), null) : toConnive.get(0);
|
Localizer.getInstance().getMessage("lblChooseConniver"), null) : connivers.get(0);
|
||||||
|
|
||||||
p.drawCards(num, sa, moveParams);
|
p.drawCards(num, sa, moveParams);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user