Re-fixed the rarity.

This commit is contained in:
jendave
2011-08-06 17:12:41 +00:00
parent 3c1097e9d8
commit 120fa1af12

View File

@@ -211,11 +211,13 @@ class TableModel extends AbstractTableModel {
return "";
case 6:
String rarity = c.getRarity();
//if(rarity.length() > 0) rarity = rarity.substring(0, 1);
if (rarity.equals("new"))
return "n";
else
rarity = rarity.substring(0,1);
else {
if (rarity.length() > 0)
rarity = rarity.substring(0, 1);
}
if (!c.getCurSetCode().equals("")){
SetInfo si = SetInfoUtil.getSetInfo_Code(c.getSets(), c.getCurSetCode());