Merge branch 'master' into 'master'

Fix CostReveal with a comma (e.g. Snarl lands)

See merge request core-developers/forge!5833
This commit is contained in:
Michael Kamensky
2021-11-15 16:01:53 +00:00

View File

@@ -72,7 +72,7 @@ public class CostReveal extends CostPartWithList {
modifiedHand.remove(source); // can't pay for itself
handList = modifiedHand;
}
handList = CardLists.getValidCards(handList, getType().split(";"), payer, source, ability);
handList = CardLists.getValidCards(handList, getType().split(","), payer, source, ability);
return handList.size();
}