mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Removed rank check from kicking out of rooms.
This commit is contained in:
parent
f0a4acf486
commit
948571cd81
@ -28,7 +28,7 @@ public class RoomUserKickEvent extends MessageHandler
|
||||
if(target == null)
|
||||
return;
|
||||
|
||||
if (target.hasPermission(Permission.ACC_UNKICKABLE) || target.getHabboInfo().getRank().getId() > this.client.getHabbo().getHabboInfo().getRank().getId())
|
||||
if (target.hasPermission(Permission.ACC_UNKICKABLE))
|
||||
{
|
||||
this.client.sendResponse(new RoomUserWhisperComposer(new RoomChatMessage(Emulator.getTexts().getValue("commands.error.cmd_kick.unkickable").replace("%username%", target.getHabboInfo().getUsername()), this.client.getHabbo(), this.client.getHabbo(), RoomChatMessageBubbles.ALERT)));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user