mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
type
This commit is contained in:
parent
5fc0393bc7
commit
763594e579
1 changed files with 4 additions and 2 deletions
|
@ -64,11 +64,13 @@ public class TxtDeckImporter extends DeckImporter {
|
|||
} else if (commentString.startsWith("//main")) {
|
||||
sideboard = false;
|
||||
|
||||
// if there are commands then disable empty line switcher (see deckstats.net format)
|
||||
if (nonEmptyLinesTotal > 0){
|
||||
// if there are commands mode (see deckstats.net format) then disable empty line switcher
|
||||
if (nonEmptyLinesTotal == 0){
|
||||
switchSideboardByEmptyLine = false;
|
||||
}
|
||||
}
|
||||
|
||||
// skip comment line
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue