mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
CharmEffect: fixed it for effects on permanent cards
This commit is contained in:
@@ -28,7 +28,7 @@ public class CharmEffect extends SpellAbilityEffect {
|
||||
}
|
||||
|
||||
int indx = 0;
|
||||
List<AbilitySub> choices = sa.getAdditionalAbilityList("Choices");
|
||||
List<AbilitySub> choices = Lists.newArrayList(sa.getAdditionalAbilityList("Choices"));
|
||||
if (restriction != null) {
|
||||
choices.removeAll(Lists.newArrayList(restriction));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user