Costume gates doesnt send a custom message when not allowed to get through

This commit is contained in:
Remco 2020-11-23 13:42:50 +01:00
parent afb6e02800
commit f4719ee042

View File

@ -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)
);
}
}