mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Ignore tab list items not containing a valid name
For cleaner /list output without "???tab" placeholders eg from TabListPlus.
This commit is contained in:
parent
4c460537e4
commit
461385d057
3 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue