Fixed #4311: deck editor can't load decks with cards cards from Masterpiece Series Amonkhet (MPS-AKH)

This commit is contained in:
Oleg Agafonov 2018-01-03 09:10:39 +04:00
parent 204a602b36
commit 1a252e61a2

View file

@ -49,7 +49,7 @@ public class DckDeckImporter extends DeckImporter {
private static final Pattern layoutStackPattern = Pattern.compile("\\(([^)]*)\\)");
private static final Pattern layoutStackEntryPattern = Pattern.compile("\\[(\\w+):(\\w+)]");
private static final Pattern layoutStackEntryPattern = Pattern.compile("\\[(\\w+[^:]\\w+):(\\d+)]"); // [MPSAK1321:43],[MPSAKH:9],[MPS123-AKH:32],[MPS-13AKH:30],[MPS-AKH:49],[MPS-AKH:11]
@Override
protected void readLine(String line, DeckCardLists deckList) {