From f4719ee042689650a7bbe2668f508ff778beb424 Mon Sep 17 00:00:00 2001 From: Remco Date: Mon, 23 Nov 2020 13:42:50 +0100 Subject: [PATCH] Costume gates doesnt send a custom message when not allowed to get through --- .../items/interactions/InteractionCostumeGate.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionCostumeGate.java b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionCostumeGate.java index 325f9392..ca0081fd 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionCostumeGate.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionCostumeGate.java @@ -67,11 +67,6 @@ public class InteractionCostumeGate extends InteractionDefault implements Condit @Override public void onRejected(RoomUnit roomUnit, Room room, Object[] objects) { - if (roomUnit == null || room == null) - return; - - room.getHabbo(roomUnit).getClient().sendResponse( - new CustomNotificationComposer(CustomNotificationComposer.HOPPER_NO_COSTUME) - ); + } }