mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- CheckStyle.
This commit is contained in:
@@ -297,7 +297,7 @@ public final class DeckEditorShop extends DeckEditorBase {
|
||||
} else if (card instanceof BoosterPack) {
|
||||
return 395;
|
||||
} else if (card instanceof PreconDeck) {
|
||||
return ((PreconDeck)card).getRecommendedDeals().getCost();
|
||||
return ((PreconDeck) card).getRecommendedDeals().getCost();
|
||||
}
|
||||
return 1337;
|
||||
}
|
||||
@@ -331,9 +331,9 @@ public final class DeckEditorShop extends DeckEditorBase {
|
||||
final CardListViewer c = new CardListViewer(booster.getName(),
|
||||
"You have found the following cards inside:", newCards);
|
||||
c.show();
|
||||
} else if ( item instanceof PreconDeck ) {
|
||||
} else if (item instanceof PreconDeck) {
|
||||
this.getTopTableWithCards().removeCard(item);
|
||||
final PreconDeck deck = (PreconDeck)item;
|
||||
final PreconDeck deck = (PreconDeck) item;
|
||||
this.questData.getCards().buyPreconDeck(deck, value);
|
||||
|
||||
for (final CardPrinted card : deck.getDeck().getMain().toFlatList()) {
|
||||
|
||||
Reference in New Issue
Block a user