From d766818ef2f029824547601a5c67bc980257c52b Mon Sep 17 00:00:00 2001 From: xjoao Date: Fri, 22 May 2020 13:38:33 -0400 Subject: [PATCH] Update exception --- src/main/java/com/eu/habbo/habbohotel/items/Item.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/items/Item.java b/src/main/java/com/eu/habbo/habbohotel/items/Item.java index caf8932a..eb7316ff 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/Item.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/Item.java @@ -54,7 +54,7 @@ public class Item { try { int index = Integer.valueOf(item.getExtradata()) % (item.getBaseItem().getMultiHeights().length); return item.getBaseItem().getMultiHeights()[(item.getExtradata().isEmpty() ? 0 : index)]; - } catch (Exception e) { + } catch (NumberFormatException e) { } }