mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
fixed decks and deck loading in editor
This commit is contained in:
parent
e4c01b0693
commit
95cd28cb22
5 changed files with 13 additions and 5 deletions
|
|
@ -276,7 +276,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
|||
File file = fcSelectDeck.getSelectedFile();
|
||||
try {
|
||||
setCursor(new Cursor(Cursor.WAIT_CURSOR));
|
||||
deck = Deck.load(DeckCardLists.load(file.getPath()));
|
||||
deck = Deck.load(DeckCardLists.load(file.getPath()), true);
|
||||
} catch (GameException ex) {
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), ex.getMessage(), "Error loading deck", JOptionPane.ERROR_MESSAGE);
|
||||
} catch (Exception ex) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue