Update AdminCommands.cs

This commit is contained in:
aviate
2019-08-10 00:29:10 +02:00
parent c0526c7157
commit f40cd4698c

View File

@@ -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;