mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +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)
|
if(target == null)
|
||||||
return;
|
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)));
|
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;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user