From a4e175f656614710b4a76dc950f436fc00ce49df Mon Sep 17 00:00:00 2001 From: brenoepic <59066707+brenoepics@users.noreply.github.com> Date: Fri, 29 Apr 2022 20:34:10 -0300 Subject: [PATCH] fix InterruptedException --- .../habbo/messages/incoming/rooms/users/MoveAvatarEvent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/messages/incoming/rooms/users/MoveAvatarEvent.java b/src/main/java/com/eu/habbo/messages/incoming/rooms/users/MoveAvatarEvent.java index 02ab1de6..9e13a1a2 100644 --- a/src/main/java/com/eu/habbo/messages/incoming/rooms/users/MoveAvatarEvent.java +++ b/src/main/java/com/eu/habbo/messages/incoming/rooms/users/MoveAvatarEvent.java @@ -157,8 +157,9 @@ public class MoveAvatarEvent extends MessageHandler { } } } - } catch (Exception e) { + } catch (InterruptedException e) { LOGGER.error("Caught exception", e); + Thread.currentThread().interrupt(); } } }