forked from External/mage
Solution for the deck editor / sideboarding / construct - mockcards problem.
This commit is contained in:
parent
0eaf9dd268
commit
0f32fc72de
14 changed files with 157 additions and 62 deletions
|
|
@ -333,7 +333,7 @@ public class GameController implements GameCallback {
|
|||
public void cheat(UUID userId, UUID playerId, DeckCardLists deckList) {
|
||||
Deck deck;
|
||||
try {
|
||||
deck = Deck.load(deckList);
|
||||
deck = Deck.load(deckList, false, false);
|
||||
game.loadCards(deck.getCards(), playerId);
|
||||
for (Card card: deck.getCards()) {
|
||||
card.putOntoBattlefield(game, Zone.OUTSIDE, null, playerId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue