mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Fixed Issue#122: Check of deck and game type during creating a new table doesn't show a qualified error message
This commit is contained in:
parent
2b6e87885a
commit
2c652770fb
2 changed files with 11 additions and 1 deletions
|
|
@ -398,7 +398,8 @@ public class NewTableDialog extends MageDialog {
|
|||
|
||||
private void handleError(Exception ex) {
|
||||
logger.fatal("Error loading deck", ex);
|
||||
JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Error loading deck.", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
//JOptionPane.showMessageDialog(MageFrame.getDesktop(), "Error loading deck.", "Error", JOptionPane.ERROR_MESSAGE);
|
||||
MageFrame.getInstance().showErrorDialog("Error loading deck.", ex.getMessage());
|
||||
}
|
||||
|
||||
public void showDialog(UUID roomId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue