From 5fe5fd01c37bf40deb5e69cfb9516f8444c74c69 Mon Sep 17 00:00:00 2001 From: Evan Murawski Date: Sat, 2 Feb 2019 18:43:11 -0500 Subject: [PATCH] Replace single slash with double slash in split card names when importing with TxtDeckImporter.java --- .../main/java/mage/cards/decks/importer/TxtDeckImporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/main/java/mage/cards/decks/importer/TxtDeckImporter.java b/Mage/src/main/java/mage/cards/decks/importer/TxtDeckImporter.java index 2efe665182..165bd17205 100644 --- a/Mage/src/main/java/mage/cards/decks/importer/TxtDeckImporter.java +++ b/Mage/src/main/java/mage/cards/decks/importer/TxtDeckImporter.java @@ -19,7 +19,7 @@ public class TxtDeckImporter extends PlainTextDeckImporter { private static final String[] SET_VALUES = new String[]{"lands", "creatures", "planeswalkers", "other spells", "sideboard cards", "Instant", "Land", "Enchantment", "Artifact", "Sorcery", "Planeswalker", "Creature"}; private static final Set IGNORE_NAMES = new HashSet<>(Arrays.asList(SET_VALUES)); - + private boolean sideboard = false; private boolean switchSideboardByEmptyLine = true; // all cards after first empty line will be sideboard (like mtgo format) private int nonEmptyLinesTotal = 0;