mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Replace single slash with double slash in split card names when importing with TxtDeckImporter.java
This commit is contained in:
parent
ec02774818
commit
5fe5fd01c3
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public class TxtDeckImporter extends PlainTextDeckImporter {
|
||||||
private static final String[] SET_VALUES = new String[]{"lands", "creatures", "planeswalkers", "other spells", "sideboard cards",
|
private static final String[] SET_VALUES = new String[]{"lands", "creatures", "planeswalkers", "other spells", "sideboard cards",
|
||||||
"Instant", "Land", "Enchantment", "Artifact", "Sorcery", "Planeswalker", "Creature"};
|
"Instant", "Land", "Enchantment", "Artifact", "Sorcery", "Planeswalker", "Creature"};
|
||||||
private static final Set<String> IGNORE_NAMES = new HashSet<>(Arrays.asList(SET_VALUES));
|
private static final Set<String> IGNORE_NAMES = new HashSet<>(Arrays.asList(SET_VALUES));
|
||||||
|
|
||||||
private boolean sideboard = false;
|
private boolean sideboard = false;
|
||||||
private boolean switchSideboardByEmptyLine = true; // all cards after first empty line will be sideboard (like mtgo format)
|
private boolean switchSideboardByEmptyLine = true; // all cards after first empty line will be sideboard (like mtgo format)
|
||||||
private int nonEmptyLinesTotal = 0;
|
private int nonEmptyLinesTotal = 0;
|
||||||
|
|
Loading…
Reference in a new issue