mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fix NPE after finishing a round.
This commit is contained in:
parent
b9dc5036ef
commit
9842199d6f
1 changed files with 0 additions and 2 deletions
|
@ -169,8 +169,6 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
||||||
if (deck != null) {
|
if (deck != null) {
|
||||||
this.cardSelector.loadSideboard(new ArrayList<>(deck.getSideboard()), this.bigCard);
|
this.cardSelector.loadSideboard(new ArrayList<>(deck.getSideboard()), this.bigCard);
|
||||||
}
|
}
|
||||||
// TODO: take from preferences
|
|
||||||
this.cardSelector.switchToGrid();
|
|
||||||
|
|
||||||
this.btnExit.setVisible(false);
|
this.btnExit.setVisible(false);
|
||||||
this.btnImport.setVisible(false);
|
this.btnImport.setVisible(false);
|
||||||
|
|
Loading…
Reference in a new issue