From f40cd4698c7674e352e9bbadac51d9a3117064ea Mon Sep 17 00:00:00 2001 From: aviate <40-aviate@users.noreply.development.life-of-german.org> Date: Sat, 10 Aug 2019 00:29:10 +0200 Subject: [PATCH] Update AdminCommands.cs --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 2a8b299f..05e80d9f 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -140,7 +140,7 @@ namespace ReallifeGamemode.Server.Commands [Command("team", "~m~Benutzung: ~s~/team")] public void CmdAdminTeam(Client player) { - if (!player.GetUser()?.IsAdmin(AdminLevel.SUPPORTER) ?? true) + if (!player.GetUser()?.IsAdmin(AdminLevel.TEAM) ?? true) { ChatService.NotAuthorized(player); return; @@ -296,7 +296,7 @@ namespace ReallifeGamemode.Server.Commands [Command("tc", "~m~Benutzung: ~s~/tc [Nachricht]", GreedyArg = true)] public void CmdTeamC(Client player, string message) { - if (!player.GetUser()?.IsAdmin(AdminLevel.SUPPORTER) ?? true) + if (!player.GetUser()?.IsAdmin(AdminLevel.TEAM) ?? true) { ChatService.NotAuthorized(player); return;