mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Fixed "no custom seals -> crash" bug.
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user