diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index f31ff72e..e993034c 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -943,6 +943,12 @@ namespace ReallifeGamemode.Server.Commands [Command("adice", "~m~Benutzung: ~s~/adice [Zahl]")] public void CmdUserAdice(Client player, int number) { + if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN3) ?? true) + { + ChatService.NotAuthorized(player); + return; + } + if (!player.IsLoggedIn()) return; var peopleInRange = NAPI.Player.GetPlayersInRadiusOfPlayer(7, player);