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 ""; return "";
case 6: case 6:
String rarity = c.getRarity(); String rarity = c.getRarity();
//if(rarity.length() > 0) rarity = rarity.substring(0, 1);
if (rarity.equals("new")) if (rarity.equals("new"))
return "n"; return "n";
else else {
if (rarity.length() > 0)
rarity = rarity.substring(0, 1); rarity = rarity.substring(0, 1);
}
if (!c.getCurSetCode().equals("")){ if (!c.getCurSetCode().equals("")){
SetInfo si = SetInfoUtil.getSetInfo_Code(c.getSets(), c.getCurSetCode()); SetInfo si = SetInfoUtil.getSetInfo_Code(c.getSets(), c.getCurSetCode());