Merge branch 'fix-doorbell' into 'dev'

Fix: send to hotelview when cancel doorbell

See merge request morningstar/Arcturus-Community!512
This commit is contained in:
Harmonic 2022-03-23 22:02:14 +00:00
commit c3d6af45fd

View File

@ -3,6 +3,7 @@ package com.eu.habbo.messages.incoming.hotelview;
import com.eu.habbo.Emulator; import com.eu.habbo.Emulator;
import com.eu.habbo.habbohotel.rooms.Room; import com.eu.habbo.habbohotel.rooms.Room;
import com.eu.habbo.messages.incoming.MessageHandler; import com.eu.habbo.messages.incoming.MessageHandler;
import com.eu.habbo.messages.outgoing.hotelview.HotelViewComposer;
public class HotelViewEvent extends MessageHandler { public class HotelViewEvent extends MessageHandler {
@Override @Override
@ -21,6 +22,7 @@ public class HotelViewEvent extends MessageHandler {
} else { } else {
this.client.getHabbo().getHabboInfo().setRoomQueueId(0); this.client.getHabbo().getHabboInfo().setRoomQueueId(0);
} }
this.client.sendResponse(new HotelViewComposer());
} }
if (this.client.getHabbo().getRoomUnit() != null) { if (this.client.getHabbo().getRoomUnit() != null) {