From 13ac1c9cef6aaeb44f5ecb8379712681c2100be6 Mon Sep 17 00:00:00 2001 From: xjoao Date: Wed, 7 Oct 2020 10:29:36 -0400 Subject: [PATCH] Logging corrected in TextsManager. See merge request morningstar/Arcturus-Community!235 --- src/main/java/com/eu/habbo/core/TextsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/core/TextsManager.java b/src/main/java/com/eu/habbo/core/TextsManager.java index 90c6520a..4b0bf66e 100644 --- a/src/main/java/com/eu/habbo/core/TextsManager.java +++ b/src/main/java/com/eu/habbo/core/TextsManager.java @@ -72,7 +72,7 @@ public class TextsManager { public int getInt(String key, Integer defaultValue) { try { return Integer.parseInt(this.getValue(key, defaultValue.toString())); - } catch (Exception e) { + } catch (NumberFormatException e) { LOGGER.error("Caught exception", e); } return defaultValue;