mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Fix name of split cards
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user