Fixing a weird NPE, probably because of some card that was removed
This commit is contained in:
@@ -287,7 +287,7 @@ public class DeckRequestHandler extends LotroServerRequestHandler implements Uri
|
|||||||
String side;
|
String side;
|
||||||
try {
|
try {
|
||||||
side = _library.getLotroCardBlueprint(cardItem.getBlueprintId()).getSide().toString();
|
side = _library.getLotroCardBlueprint(cardItem.getBlueprintId()).getSide().toString();
|
||||||
} catch (CardNotFoundException e) {
|
} catch (Exception e) {
|
||||||
side = "FREE_PEOPLE";
|
side = "FREE_PEOPLE";
|
||||||
}
|
}
|
||||||
card.setAttribute("side", side);
|
card.setAttribute("side", side);
|
||||||
|
|||||||
Reference in New Issue
Block a user