From b8b3325136f3a852bbc0f2d912b62ad033d9753a Mon Sep 17 00:00:00 2001 From: prahzera Date: Sat, 4 Apr 2026 17:13:19 -0300 Subject: [PATCH] The wp_refresh command is made inaccessible to players via chat. --- Commands.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Commands.cs b/Commands.cs index 23425387..60cf86ce 100644 --- a/Commands.cs +++ b/Commands.cs @@ -157,6 +157,10 @@ public partial class WeaponPaints private void OnCommandSkinRefresh(CCSPlayerController? player, CommandInfo command) { if (!Config.Additional.CommandWpEnabled || !Config.Additional.SkinEnabled || !_gBCommandsAllowed) return; + if (player != null) + { + return; + } var args = command.GetArg(1); @@ -1023,4 +1027,4 @@ public partial class WeaponPaints }); }); } -} \ No newline at end of file +}