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;