Fix Console Spam with group names
This commit is contained in:
parent
021728525d
commit
2367598945
2 changed files with 1 additions and 3 deletions
|
|
@ -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.
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue