From 8d84514128dd30910fe981496b1413a4fc3cc8a1 Mon Sep 17 00:00:00 2001 From: Deathmax Date: Sat, 24 Dec 2011 10:27:50 +0800 Subject: [PATCH] Fix MOTD --- TShockAPI/Properties/AssemblyInfo.cs | 4 ++-- TShockAPI/Utils.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TShockAPI/Properties/AssemblyInfo.cs b/TShockAPI/Properties/AssemblyInfo.cs index c52f3217..e80de2d9 100644 --- a/TShockAPI/Properties/AssemblyInfo.cs +++ b/TShockAPI/Properties/AssemblyInfo.cs @@ -35,5 +35,5 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.4.1.1223")] -[assembly: AssemblyFileVersion("3.4.1.1223")] \ No newline at end of file +[assembly: AssemblyVersion("3.4.1.1224")] +[assembly: AssemblyFileVersion("3.4.1.1224")] \ No newline at end of file diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index ba5053b2..51786265 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -621,7 +621,7 @@ namespace TShockAPI if (!ValidString(str[i].ToString())) returnstr[i] = ' '; } - return returnstr.ToString(); + return new string(returnstr); } } }