Fixed "no custom seals -> crash" bug.

This commit is contained in:
Doublestrike
2012-02-15 11:56:52 +00:00
parent c38d2d504d
commit 95ca59809a

View File

@@ -184,6 +184,7 @@ public class ControlSealed {
+ ">> does not equal any of the sealedTypes."); + ">> does not equal any of the sealedTypes.");
} }
if (!sd.getCardpool().isEmpty()) {
final ItemPool<CardPrinted> sDeck = sd.getCardpool(); final ItemPool<CardPrinted> sDeck = sd.getCardpool();
deck.getSideboard().addAll(sDeck); deck.getSideboard().addAll(sDeck);
@@ -217,6 +218,7 @@ public class ControlSealed {
view.getParentView().getUtilitiesController().showDeckEditor(GameType.Sealed, deck); view.getParentView().getUtilitiesController().showDeckEditor(GameType.Sealed, deck);
} }
} }
}
/** @return {@link forge.Command} What to do when the deck editor exits. */ /** @return {@link forge.Command} What to do when the deck editor exits. */
public Command getExitCommand() { public Command getExitCommand() {