diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index d5b84911..648b357b 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -85,7 +85,7 @@ namespace TShockAPI { if (names == null || names.Length < 1) throw new NotSupportedException(); - Permissions = null; + Permissions = new List(); Names = new List(names); command = cmd; AllowServer = true; diff --git a/TShockAPI/Properties/AssemblyInfo.cs b/TShockAPI/Properties/AssemblyInfo.cs index d6873c05..4b7ec1be 100644 --- a/TShockAPI/Properties/AssemblyInfo.cs +++ b/TShockAPI/Properties/AssemblyInfo.cs @@ -48,5 +48,5 @@ using System.Runtime.InteropServices; // Build Number // MMdd of the build -[assembly: AssemblyVersion("4.0.5.0222")] -[assembly: AssemblyFileVersion("4.0.5.0222")] +[assembly: AssemblyVersion("4.1.0.0419")] +[assembly: AssemblyFileVersion("4.1.0.0419")] diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 057602fa..1f7cf1e8 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -37,7 +37,7 @@ using TShockAPI.Net; namespace TShockAPI { - [APIVersion(1, 12)] + [APIVersion(1, 13)] public class TShock : TerrariaPlugin { private const string LogFormatDefault = "yyyy-MM-dd_HH-mm-ss"; diff --git a/TShockAPI/TShockAPI.csproj b/TShockAPI/TShockAPI.csproj index 4bb1f9d1..beed07b1 100644 --- a/TShockAPI/TShockAPI.csproj +++ b/TShockAPI/TShockAPI.csproj @@ -76,11 +76,8 @@ - - False - .exe + ..\TerrariaServerBins\TerrariaServer.exe - False @@ -189,7 +186,7 @@ - +