mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +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;
|
Double rank = null;
|
||||||
|
|
||||||
if (draftRankings.containsKey(edition)) {
|
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 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user