diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index f381e783..bfb3f8c9 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -131,18 +131,7 @@ namespace TShockAPI #endif AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; - Console.Write(" ___ ___ ___ ___ ___ \n" + - " ___ / /\\ /__/\\ / /\\ / /\\ /__/| \n" + - " / /\\ / /:/_ \\ \\:\\ / /::\\ / /:/ | |:| \n" + - " / /:/ / /:/ /\\ \\__\\:\\ / /:/\\:\\ / /:/ | |:| \n" + - " / /:/ / /:/ /::\\ ___ / /::\\ / /:/ \\:\\ / /:/ ___ __| |:| \n" + - " / /::\\ /__/:/ /:/\\:\\/__/\\ /:/\\:\\/__/:/ \\__\\:\\/__/:/ / /\\/__/\\_|:|____\n" + - "/__/:/\\:\\\\ \\:\\/:/~/:/\\ \\:\\/:/__\\/\\ \\:\\ / /:/\\ \\:\\ / /:/\\ \\:\\/:::::/\n" + - "\\__\\/ \\:\\\\ \\::/ /:/ \\ \\::/ \\ \\:\\ /:/ \\ \\:\\ /:/ \\ \\::/~~~~ \n" + - " \\ \\:\\\\__\\/ /:/ \\ \\:\\ \\ \\:\\/:/ \\ \\:\\/:/ \\ \\:\\ \n" + - " \\__\\/ /__/:/ \\ \\:\\ \\ \\::/ \\ \\::/ \\ \\:\\ \n" + - " \\__\\/ \\__\\/ \\__\\/ \\__\\/ \\__\\/ \n" + - ""); + getTShockAscii(); try { @@ -255,7 +244,25 @@ namespace TShockAPI } } - private RestObject RestApi_Verify(string username, string password) + private static void getTShockAscii() + { +// ReSharper disable LocalizableElement + Console.Write(" ___ ___ ___ ___ ___ \n" + + " ___ / /\\ /__/\\ / /\\ / /\\ /__/| \n" + + " / /\\ / /:/_ \\ \\:\\ / /::\\ / /:/ | |:| \n" + + " / /:/ / /:/ /\\ \\__\\:\\ / /:/\\:\\ / /:/ | |:| \n" + + " / /:/ / /:/ /::\\ ___ / /::\\ / /:/ \\:\\ / /:/ ___ __| |:| \n" + + " / /::\\ /__/:/ /:/\\:\\/__/\\ /:/\\:\\/__/:/ \\__\\:\\/__/:/ / /\\/__/\\_|:|____\n" + + "/__/:/\\:\\\\ \\:\\/:/~/:/\\ \\:\\/:/__\\/\\ \\:\\ / /:/\\ \\:\\ / /:/\\ \\:\\/:::::/\n" + + "\\__\\/ \\:\\\\ \\::/ /:/ \\ \\::/ \\ \\:\\ /:/ \\ \\:\\ /:/ \\ \\::/~~~~ \n" + + " \\ \\:\\\\__\\/ /:/ \\ \\:\\ \\ \\:\\/:/ \\ \\:\\/:/ \\ \\:\\ \n" + + " \\__\\/ /__/:/ \\ \\:\\ \\ \\::/ \\ \\::/ \\ \\:\\ \n" + + " \\__\\/ \\__\\/ \\__\\/ \\__\\/ \\__\\/ \n" + + ""); +// ReSharper restore LocalizableElement + } + + private RestObject RestApi_Verify(string username, string password) { var userAccount = Users.GetUserByName(username); if (userAccount == null)