From 47e16f4977022489b7f6390f16f0c5b14cfab034 Mon Sep 17 00:00:00 2001 From: Michael Kamensky Date: Mon, 15 Nov 2021 19:01:01 +0300 Subject: [PATCH] - Fix CostReveal with a comma (e.g. Snarl lands) --- forge-game/src/main/java/forge/game/cost/CostReveal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-game/src/main/java/forge/game/cost/CostReveal.java b/forge-game/src/main/java/forge/game/cost/CostReveal.java index d6003290689..470cec17b42 100644 --- a/forge-game/src/main/java/forge/game/cost/CostReveal.java +++ b/forge-game/src/main/java/forge/game/cost/CostReveal.java @@ -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(); }