Revert NPE fix - it should throw a problem.
This commit is contained in:
@@ -287,7 +287,7 @@ public class DeckRequestHandler extends LotroServerRequestHandler implements Uri
|
||||
String side;
|
||||
try {
|
||||
side = _library.getLotroCardBlueprint(cardItem.getBlueprintId()).getSide().toString();
|
||||
} catch (Exception e) {
|
||||
} catch (CardNotFoundException e) {
|
||||
side = "FREE_PEOPLE";
|
||||
}
|
||||
card.setAttribute("side", side);
|
||||
|
||||
Reference in New Issue
Block a user