mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-02-21 12:32:37 +01:00
Costume gates doesnt send a custom message when not allowed to get through
This commit is contained in:
parent
afb6e02800
commit
f4719ee042
@ -67,11 +67,6 @@ public class InteractionCostumeGate extends InteractionDefault implements Condit
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRejected(RoomUnit roomUnit, Room room, Object[] objects) {
|
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)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user