Revert NPE fix - it should throw a problem.

This commit is contained in:
marcin.sciesinski
2021-02-19 13:23:13 -08:00
parent caa1c9699d
commit 4b8bd7d14c

View File

@@ -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 (Exception e) { } catch (CardNotFoundException e) {
side = "FREE_PEOPLE"; side = "FREE_PEOPLE";
} }
card.setAttribute("side", side); card.setAttribute("side", side);