mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- For now, disregard both -1 and Integer.MAX_VALUE when rendering integer components in a table.
- Unfortunately, this means that Spinal Parasite does not have its P/T visualized in the deck editor table; but at least there won't be a lot of -1's elsewhere in the editor. Couldn't find a way to fix both of these at the same time for now. - Revert processing default CMC as Integer.MAX_VALUE for the UI purposes.
This commit is contained in:
@@ -442,7 +442,7 @@ public enum ColumnDef {
|
||||
}
|
||||
|
||||
private static Integer toCMC(final InventoryItem i) {
|
||||
return i instanceof PaperCard ? ((IPaperCard) i).getRules().getManaCost().getCMC() : Integer.MAX_VALUE;
|
||||
return i instanceof PaperCard ? ((IPaperCard) i).getRules().getManaCost().getCMC() : -1;
|
||||
}
|
||||
|
||||
private static CardRarity toRarity(final InventoryItem i) {
|
||||
|
||||
Reference in New Issue
Block a user