Ignore tab list items not containing a valid name

For cleaner /list output without "???tab"
placeholders eg from TabListPlus.
This commit is contained in:
ORelio 2016-08-22 23:15:16 +02:00
parent 4c460537e4
commit 461385d057
3 changed files with 5 additions and 5 deletions

View file

@ -204,7 +204,7 @@ namespace MinecraftClient
/// Verify that a string contains only a-z A-Z 0-9 and _ characters.
/// </summary>
protected static bool IsValidName(string username)
public static bool IsValidName(string username)
{
if (String.IsNullOrEmpty(username))
return false;