From 0f16d9aa42d99e2b0870baf1b95ed641433f562a Mon Sep 17 00:00:00 2001 From: David Silva Date: Tue, 28 Apr 2020 00:35:13 +0200 Subject: [PATCH] fix(RequestUserDataEvent): patch auto redirect when nux is done --- .../habbo/messages/incoming/users/RequestUserDataEvent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/eu/habbo/messages/incoming/users/RequestUserDataEvent.java b/src/main/java/com/eu/habbo/messages/incoming/users/RequestUserDataEvent.java index 56f75a1b..174f5ef1 100644 --- a/src/main/java/com/eu/habbo/messages/incoming/users/RequestUserDataEvent.java +++ b/src/main/java/com/eu/habbo/messages/incoming/users/RequestUserDataEvent.java @@ -39,9 +39,9 @@ public class RequestUserDataEvent extends MessageHandler { messages.add(new UserDataComposer(this.client.getHabbo()).compose()); messages.add(new UserPerksComposer(this.client.getHabbo()).compose()); - if (this.client.getHabbo().getHabboInfo().getHomeRoom() != 0) + if (!this.client.getHabbo().getHabboStats().nux && this.client.getHabbo().getHabboInfo().getHomeRoom() != 0) messages.add(new ForwardToRoomComposer(this.client.getHabbo().getHabboInfo().getHomeRoom()).compose()); - else if (RoomManager.HOME_ROOM_ID > 0) + else if (!this.client.getHabbo().getHabboStats().nux && RoomManager.HOME_ROOM_ID > 0) messages.add(new ForwardToRoomComposer(RoomManager.HOME_ROOM_ID).compose()); messages.add(new MeMenuSettingsComposer(this.client.getHabbo()).compose());