The wp_refresh command is made inaccessible to players via chat.

This commit is contained in:
prahzera
2026-04-04 17:13:19 -03:00
parent aa27822ca6
commit b8b3325136

View File

@@ -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
});
});
}
}
}