Skip to content

Commit

Permalink
change stop to handled
Browse files Browse the repository at this point in the history
  • Loading branch information
destoer committed Jan 26, 2024
1 parent b0a6ed5 commit 26d51a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Jail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public HookResult join_team(CCSPlayerController? invoke, CommandInfo command)

if(!warden.join_team(invoke,command))
{
return HookResult.Stop;
return HookResult.Handled;
}

return HookResult.Continue;
Expand Down Expand Up @@ -368,7 +368,7 @@ public HookResult player_ping_cmd(CCSPlayerController? invoke, CommandInfo comma
// if player is not warden ignore the ping
if(Config.restrict_ping && !warden.is_warden(invoke))
{
return HookResult.Stop;
return HookResult.Handled;
}

return HookResult.Continue;
Expand Down

0 comments on commit 26d51a2

Please sign in to comment.