forked from External/mage
fixed issue 36
This commit is contained in:
parent
632775c617
commit
63d1710cb7
3 changed files with 25 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ public class GameController implements GameCallback {
|
|||
private void addCardsForTesting(Game game) {
|
||||
try {
|
||||
File f = new File(INIT_FILE_PATH);
|
||||
Pattern pattern = Pattern.compile("([a-zA-Z]*):([\\w]*):([a-zA-Z ,.!'\\d]*):([\\d]*)");
|
||||
Pattern pattern = Pattern.compile("([a-zA-Z]*):([\\w]*):([a-zA-Z ,\\-.!'\\d]*):([\\d]*)");
|
||||
if (!f.exists()) {
|
||||
logger.warning("Couldn't find init file: " + INIT_FILE_PATH);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue