AutoRelog: Allow any kick message

Set ignorekickmessage=true in config
See issues #880 #921
This commit is contained in:
ORelio 2020-04-02 18:19:37 +02:00
parent dbe02c063c
commit c5b0f447c9
5 changed files with 41 additions and 15 deletions

View file

@ -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);