From 236759894573733bcdec42a6fafc31e13a095963 Mon Sep 17 00:00:00 2001 From: Zidonuke Date: Thu, 29 Dec 2011 16:17:19 -0500 Subject: [PATCH] Fix Console Spam with group names --- TShockAPI/DB/ItemManager.cs | 1 - TShockAPI/TShock.cs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TShockAPI/DB/ItemManager.cs b/TShockAPI/DB/ItemManager.cs index 960e8b0c..4827c4a3 100644 --- a/TShockAPI/DB/ItemManager.cs +++ b/TShockAPI/DB/ItemManager.cs @@ -197,7 +197,6 @@ namespace TShockAPI.DB { if (ply == null) return false; - Console.WriteLine(ply.Group.Name); return AllowedGroups.Contains(ply.Group.Name); // could add in the other permissions in this class instead of a giant if switch. } diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index dd6536d9..83c4ef16 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -399,8 +399,7 @@ namespace TShockAPI AuthToken = Convert.ToInt32(tr.ReadLine()); } Console.ForegroundColor = ConsoleColor.Yellow; - Console.WriteLine( - "TShock Notice: authcode.txt is still present, and the AuthToken located in that file will be used."); + Console.WriteLine("TShock Notice: authcode.txt is still present, and the AuthToken located in that file will be used."); Console.WriteLine("To become superadmin, join the game and type /auth " + AuthToken); Console.WriteLine("This token will display until disabled by verification. (/auth-verify)"); Console.ForegroundColor = ConsoleColor.Gray;