From 26d51a287e0a90ac639cf0d5c8a63f56b2787fdd Mon Sep 17 00:00:00 2001 From: destoer Date: Fri, 26 Jan 2024 20:47:59 +0000 Subject: [PATCH] change stop to handled --- src/Jail.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jail.cs b/src/Jail.cs index 776c93b..9f908dd 100644 --- a/src/Jail.cs +++ b/src/Jail.cs @@ -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; @@ -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;