Update AdminCommands.cs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user