Fix name of split cards

This commit is contained in:
pfirpfel
2024-01-16 11:31:08 +01:00
committed by Chris H
parent b64e26c012
commit f62f71daf9

View File

@@ -114,6 +114,9 @@ public class ReadDraftRankings {
// This should be updated // This should be updated
String safeName = StringUtils.stripAccents(cardName); String safeName = StringUtils.stripAccents(cardName);
// handle split cards
safeName = safeName.replace(" // ", " ");
// If a card has no ranking, don't try to look it up --BBU // If a card has no ranking, don't try to look it up --BBU
if (draftRankings.get(edition).get(safeName) == null) { if (draftRankings.get(edition).get(safeName) == null) {
// System.out.println("WARNING! " + safeName + " NOT found in " + edition); // System.out.println("WARNING! " + safeName + " NOT found in " + edition);