Exemple #1
0
        /// <summary>
        /// Disables a command
        /// </summary>
        /// <param name="command">The command to disable</param>
        public static void DisableCommand(PointBlankCommand command)
        {
            CommandWrapper wrapper = CM.Commands.FirstOrDefault(a => a.CommandClass == command);

            wrapper?.Disable();
        }