SteamWar/BungeeCore
Archiviert
13
2

Fix whois MODERATION
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-08-31 21:51:18 +02:00
Ursprung fbbfc1bd03
Commit ee05b42a07

Datei anzeigen

@ -88,7 +88,7 @@ public class WhoisCommand extends SWCommand {
if (!sender.user().hasPerm(UserPerm.TEAM)) if (!sender.user().hasPerm(UserPerm.TEAM))
return; return;
if (sender.user().hasPerm(UserPerm.ADMINISTRATION)) { if (sender.user().hasPerm(UserPerm.MODERATION)) {
sender.system("WHOIS_ID", user.getId()); 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()); 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) if (user.getDiscordId() != null)