mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Random brawl deck generator working on Desktop
This commit is contained in:
@@ -180,8 +180,9 @@ public class FDeckChooser extends JPanel implements IDecksComboBoxListener {
|
||||
}
|
||||
|
||||
private void updateRandomCommander() {
|
||||
if((!lstDecks.getGameType().getDeckFormat().equals(DeckFormat.Commander)&&
|
||||
!(lstDecks.getGameType().getDeckFormat().equals(DeckFormat.TinyLeaders)))){
|
||||
if((!lstDecks.getGameType().getDeckFormat().equals(DeckFormat.Commander))&&
|
||||
!(lstDecks.getGameType().getDeckFormat().equals(DeckFormat.TinyLeaders))&&
|
||||
!(lstDecks.getGameType().getDeckFormat().equals(DeckFormat.Brawl))){
|
||||
return;
|
||||
}
|
||||
lstDecks.setAllowMultipleSelections(false);
|
||||
@@ -202,8 +203,9 @@ public class FDeckChooser extends JPanel implements IDecksComboBoxListener {
|
||||
}
|
||||
|
||||
private void updateRandomCardGenCommander() {
|
||||
if((!lstDecks.getGameType().getDeckFormat().equals(DeckFormat.Commander)&&
|
||||
!(lstDecks.getGameType().getDeckFormat().equals(DeckFormat.TinyLeaders)))){
|
||||
if((!lstDecks.getGameType().getDeckFormat().equals(DeckFormat.Commander))&&
|
||||
!(lstDecks.getGameType().getDeckFormat().equals(DeckFormat.TinyLeaders))&&
|
||||
!(lstDecks.getGameType().getDeckFormat().equals(DeckFormat.Brawl))){
|
||||
return;
|
||||
}
|
||||
lstDecks.setAllowMultipleSelections(false);
|
||||
|
||||
Reference in New Issue
Block a user