Skip to content

Commit

Permalink
updated perms for debugging commands
Browse files Browse the repository at this point in the history
  • Loading branch information
B3none committed Jan 7, 2024
1 parent 0e9fab8 commit a742e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RetakesPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void AddSpawnCommand(CCSPlayerController? player, CommandInfo commandInfo
}

[ConsoleCommand("css_showqangle", "This command shows the players current QAngle")]
// [RequiresPermissions("@css/root")]
[RequiresPermissions("@css/root")]
public void OnCommandShowQangle(CCSPlayerController? player, CommandInfo commandInfo)
{
if (!Helpers.IsValidPlayer(player))
Expand All @@ -132,7 +132,7 @@ public void OnCommandShowQangle(CCSPlayerController? player, CommandInfo command

[ConsoleCommand("css_showspawns", "This command shows the spawns")]
[CommandHelper(minArgs: 1, usage: "[A/B]", whoCanExecute: CommandUsage.CLIENT_ONLY)]
// [RequiresPermissions("@css/root")]
[RequiresPermissions("@css/root")]
public void OnCommandShowSpawns(CCSPlayerController? player, CommandInfo commandInfo)
{
if (!Helpers.IsValidPlayer(player))
Expand Down

0 comments on commit a742e28

Please sign in to comment.