mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fix flip cards safe name not matching rankings file from draft.bestiaire.
This commit is contained in:
@@ -94,7 +94,7 @@ public class ReadDraftRankings {
|
||||
Double rank = null;
|
||||
|
||||
if (draftRankings.containsKey(edition)) {
|
||||
String safeName = cardName.replaceAll("-", " ").replaceAll("[^A-Za-z ]", "");
|
||||
String safeName = cardName.replaceAll("-", " ").replaceAll("[^A-Za-z ]", "").replaceAll(" ", " ");
|
||||
|
||||
// If a card has no ranking, don't try to look it up --BBU
|
||||
if (draftRankings.get(edition).get(safeName) == null) {
|
||||
|
||||
Reference in New Issue
Block a user