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