mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Bugfix for fixing deck size. Basic lands weren't put into the CardCounts hashmap.
This commit is contained in:
@@ -212,6 +212,7 @@ public class GenerateThemeDeck
|
||||
int nLand = (int)((float)numBLands * p);
|
||||
tmpDeck += "numLand-" + ClrCnts[i].Color + ":" + nLand + "\n";
|
||||
|
||||
CardCounts.put(ClrCnts[i].Color, 2);
|
||||
for (int j=0; j<nLand; j++)
|
||||
tDeck.add(AllZone.CardFactory.getCard(ClrCnts[i].Color, Constant.Player.Computer));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user