diff --git a/Assembly/ASMInfo.cs b/Assembly/ASMInfo.cs index 59a8103..eadfbcc 100644 --- a/Assembly/ASMInfo.cs +++ b/Assembly/ASMInfo.cs @@ -6,7 +6,7 @@ using System.Reflection; [assembly: AssemblyCompany("ZNI")] [assembly: AssemblyAlgorithmId(System.Configuration.Assemblies.AssemblyHashAlgorithm.MD5)] [assembly: AssemblyCopyright("(C) 2020 Tara Piccari")] -[assembly: AssemblyFileVersion("5.4.395")] +[assembly: AssemblyFileVersion("5.4.396")] [assembly: AssemblyDescription("Second Life Bot - BotCore5")] @@ -15,7 +15,7 @@ namespace Bot.Assemble public class ASMInfo { public static string BotName = "ZBotCore"; - public static string BotVer = "5.4.395"; + public static string BotVer = "5.4.396"; public static string GitPassword { get diff --git a/CommandSystem/CommandRegistry.cs b/CommandSystem/CommandRegistry.cs index a0bc5d1..bb31922 100644 --- a/CommandSystem/CommandRegistry.cs +++ b/CommandSystem/CommandRegistry.cs @@ -220,13 +220,13 @@ namespace Bot.CommandSystem { //Command is not disabled var ovj = Activator.CreateInstance(cg.AssignedMethod.DeclaringType); - string[] args = new string[cmdStruct.Length - 1]; + List lArgs = new List(); for(int i=1; i<= cmdStruct.Length; i++) { - args[i - 1] = cmdStruct[i]; + lArgs.Add(cmdStruct[i]); } - + string[] args = lArgs.ToArray(); //(UUID client, int level, string[] additionalArgs, //Destinations source, //UUID agentKey, string agentName)