mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
AutoRelog: Allow any kick message
Set ignorekickmessage=true in config See issues #880 #921
This commit is contained in:
parent
dbe02c063c
commit
c5b0f447c9
5 changed files with 41 additions and 15 deletions
|
|
@ -473,6 +473,10 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
|
||||
foreach (var item in nbt)
|
||||
{
|
||||
// Skip NBT root name
|
||||
if (item.Key == "" && root)
|
||||
continue;
|
||||
|
||||
byte fieldType;
|
||||
byte[] fieldNameLength = GetUShort((ushort)item.Key.Length);
|
||||
byte[] fieldName = Encoding.ASCII.GetBytes(item.Key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue