mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Removed unused code from Sets and ExpansionSet
This commit is contained in:
parent
cf93d74206
commit
9acb0e23bc
3 changed files with 2 additions and 90 deletions
|
|
@ -28,6 +28,7 @@
|
|||
package mage.client.deckeditor;
|
||||
|
||||
import mage.cards.Card;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.decks.Deck;
|
||||
import mage.cards.decks.importer.DeckImporter;
|
||||
import mage.cards.decks.importer.DeckImporterUtil;
|
||||
|
|
@ -190,7 +191,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
|||
CardInfo cardInfo = CardRepository.instance.findCard(cardView.getExpansionSetCode(), cardView.getCardNumber());
|
||||
Card card = cardInfo != null ? cardInfo.getCard() : null;
|
||||
if (card != null) {
|
||||
deck.getSideboard().add(Sets.createCard(card.getClass()));
|
||||
deck.getSideboard().add(CardImpl.createCard(card.getClass()));
|
||||
}
|
||||
if (cardInfoPane instanceof CardInfoPane) {
|
||||
((CardInfoPane)cardInfoPane).setCard(new CardView(card));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue