mirror of
https://github.com/correl/mage.git
synced 2025-01-11 11:05:23 +00:00
Removed MessageBox displayed after deck was generated. removed splash screen closing (caused exception time to time). updated plugin.
This commit is contained in:
parent
30b341f7d9
commit
6d589abe6d
3 changed files with 1 additions and 4 deletions
Binary file not shown.
|
@ -510,9 +510,6 @@ public class MageFrame extends javax.swing.JFrame {
|
|||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
new MageFrame().setVisible(true);
|
||||
if (splash != null) {
|
||||
splash.close();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ public class DeckGenerator {
|
|||
tmp.createNewFile();
|
||||
deck.setName("Generated-Deck-" + UUID.randomUUID());
|
||||
deck.getDeckCardLists().save(tmp.getAbsolutePath());
|
||||
JOptionPane.showMessageDialog(null, "Deck has been generated.");
|
||||
//JOptionPane.showMessageDialog(null, "Deck has been generated.");
|
||||
return tmp.getAbsolutePath();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Reference in a new issue