geforkt von SteamWar/BungeeCore
Fix whois MODERATION
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
fbbfc1bd03
Commit
ee05b42a07
@ -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)
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren