forked from External/mage
deck format change
This commit is contained in:
parent
3cb1c2bf15
commit
ba8532ea86
18 changed files with 127 additions and 51 deletions
|
|
@ -86,7 +86,7 @@ public class DeckGenerator {
|
|||
File tmp = File.createTempFile("tempDeck" + UUID.randomUUID().toString(), ".dck");
|
||||
tmp.createNewFile();
|
||||
deck.setName("Generated-Deck-" + UUID.randomUUID());
|
||||
deck.getDeckCardLists().save(tmp.getAbsolutePath());
|
||||
Sets.saveDeck(tmp.getAbsolutePath(), deck.getDeckCardLists());
|
||||
//JOptionPane.showMessageDialog(null, "Deck has been generated.");
|
||||
return tmp.getAbsolutePath();
|
||||
} catch (Exception e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue