public static void Run(GenSeedOptions opts) { if (opts.Players < 1 || opts.Players > 64) { throw new ArgumentOutOfRangeException("players", "The players parameter must fall within the range 1-64"); } var optionList = new[] {
public static void Run(GenSeedOptions opts) { if (opts.Players < 1 || opts.Players > 64) { throw new ArgumentOutOfRangeException("players", "The players parameter must fall within the range 1-64"); } var optionList = new List <(string, string)> { ("gamemode", opts.Single ? "normal" : "multiworld"), (opts.LogicName, opts.LogicValue), ("players", opts.Players.ToString()), }; if (opts is SMZ3SeedOptions smz3) { optionList.AddRange(new[] {