mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
This commit is contained in:
@@ -119,7 +119,8 @@ public class GameNew {
|
|||||||
boolean canSideBoard = !isFirstGame && gameType.isSideboardingAllowed() && hasSpareCards;
|
boolean canSideBoard = !isFirstGame && gameType.isSideboardingAllowed() && hasSpareCards;
|
||||||
|
|
||||||
if (canSideBoard) {
|
if (canSideBoard) {
|
||||||
myDeck = player.getController().sideboard(psc.getCurrentDeck(), gameType);
|
// This method changes the deck passed as parameter
|
||||||
|
player.getController().sideboard(psc.getCurrentDeck(), gameType);
|
||||||
} else {
|
} else {
|
||||||
psc.restoreOriginalDeck();
|
psc.restoreOriginalDeck();
|
||||||
myDeck = psc.getCurrentDeck();
|
myDeck = psc.getCurrentDeck();
|
||||||
|
|||||||
@@ -32,6 +32,11 @@ public class PlayerStartConditions {
|
|||||||
return currentDeck;
|
return currentDeck;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setCurrentDeck(Deck currentDeck0) {
|
||||||
|
this.currentDeck = currentDeck0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public final int getStartingLife() {
|
public final int getStartingLife() {
|
||||||
return startingLife;
|
return startingLife;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user