NBT Changes, needs fixing

This commit is contained in:
Anon 2024-01-31 13:53:09 +01:00
parent 790e0bfe55
commit 975aab88e3
2 changed files with 36 additions and 6 deletions

View file

@ -1674,7 +1674,7 @@ namespace MinecraftClient.Protocol.Handlers
else
{
hasMotd = true;
motd = ChatParser.ParseText(dataTypes.ReadNextString(packetData));
motd = (string)dataTypes.ReadNextNbt(packetData)[""];
}
var iconBase64 = "-";
@ -2635,6 +2635,11 @@ namespace MinecraftClient.Protocol.Handlers
break;*/
case PacketTypesIn.SetTickingState:
dataTypes.ReadNextFloat(packetData);
dataTypes.ReadNextBool(packetData);
break;
default:
return false; //Ignored packet
}