- 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:
Agetian
2016-10-09 15:17:58 +00:00
parent 2b73fb48f4
commit b3a49e005f
2 changed files with 3 additions and 3 deletions

View File

@@ -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) {