mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Fixed bug in client for servers without AI support. Updated card ratings.
This commit is contained in:
parent
9f58382d6d
commit
b639380f87
2 changed files with 10 additions and 6 deletions
|
|
@ -76,7 +76,11 @@ public class TablePlayerPanel extends javax.swing.JPanel {
|
|||
try {
|
||||
Integer index = Integer.parseInt(Config.defaultOtherPlayerIndex);
|
||||
cbPlayerType.setSelectedIndex(index);
|
||||
} catch (NumberFormatException e) {}
|
||||
}
|
||||
catch (NumberFormatException e) {}
|
||||
catch (IllegalArgumentException iae) {
|
||||
logger.warning("Wrong parameter for default AI type in config.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue