mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Add setting for allowing non-English name in player list (#2556)
Non-vanilla server may have player name other than English, for example Chinese server can have player name in Chinese. This setting allow MCC to display those non-English name in the player list.
This commit is contained in:
parent
ac65482296
commit
a8200b6e14
5 changed files with 2006 additions and 1273 deletions
|
|
@ -2967,7 +2967,7 @@ namespace MinecraftClient
|
|||
public void OnPlayerJoin(PlayerInfo player)
|
||||
{
|
||||
//Ignore placeholders eg 0000tab# from TabListPlus
|
||||
if (!ChatBot.IsValidName(player.Name))
|
||||
if (Config.Main.Advanced.IgnoreInvalidPlayerName && !ChatBot.IsValidName(player.Name))
|
||||
return;
|
||||
|
||||
if (player.Name == username)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue