From 6b3e8bd7cfd9af4877e2a23aed103a78ec5f4a69 Mon Sep 17 00:00:00 2001 From: hydrant Date: Mon, 5 Apr 2021 14:02:46 +0200 Subject: [PATCH] checkstats supporter --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index bcc93fbe..b7a64a36 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -2523,7 +2523,6 @@ namespace ReallifeGamemode.Server.Commands case 9: target.SetSharedData("blipColor", 25); target.SetSharedData("nameTagColor", 9); - break; } dbContext.SaveChanges(); @@ -3642,7 +3641,7 @@ namespace ReallifeGamemode.Server.Commands public void CmdAdminCheckStats(Player player, string nameOrId) { User user = player.GetUser(); - if(!user.IsAdmin(AdminLevel.ADMIN)) + if(!user.IsAdmin(AdminLevel.SUPPORTER)) { ChatService.NotAuthorized(player); }