From ee05b42a074a3316757728e2cf0ba82c4ba35276 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Thu, 31 Aug 2023 21:51:18 +0200 Subject: [PATCH] Fix whois MODERATION Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/commands/WhoisCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/WhoisCommand.java b/src/de/steamwar/bungeecore/commands/WhoisCommand.java index 8b25efec..beb1e2a7 100644 --- a/src/de/steamwar/bungeecore/commands/WhoisCommand.java +++ b/src/de/steamwar/bungeecore/commands/WhoisCommand.java @@ -88,7 +88,7 @@ public class WhoisCommand extends SWCommand { if (!sender.user().hasPerm(UserPerm.TEAM)) return; - if (sender.user().hasPerm(UserPerm.ADMINISTRATION)) { + if (sender.user().hasPerm(UserPerm.MODERATION)) { sender.system("WHOIS_ID", user.getId()); sender.system("WHOIS_UUID", new Message("WHOIS_UUID_HOVER"), new ClickEvent(ClickEvent.Action.COPY_TO_CLIPBOARD, user.getUUID().toString()), user.getUUID().toString()); if (user.getDiscordId() != null)