mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Re-enabling Basic Lands in Rarity Statistics
This is done similarly in DeckStats (Rarity grouped) deck export. Signed-off-by: leriomaggio <valeriomaggio@gmail.com>
This commit is contained in:
@@ -444,8 +444,8 @@ public class DeckImport<TItem extends InventoryItem, TModel extends DeckBase> ex
|
||||
cardTypeStats.add(currentKeySection, coreTypeName, tokenNumber);
|
||||
}
|
||||
// update rarity stats
|
||||
if (!t.getCard().isVeryBasicLand())
|
||||
rarityStats.add(currentKeySection, t.getCard().getRarity().name(), tokenNumber);
|
||||
rarityStats.add(currentKeySection, t.getCard().getRarity().name(), tokenNumber);
|
||||
|
||||
// update colour stats
|
||||
if (!t.getCard().getRules().getType().isLand()) {
|
||||
String manaCost = String.format("CMC %d", t.getCard().getRules().getManaCost().getCMC());
|
||||
|
||||
Reference in New Issue
Block a user