mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
NBT Changes, needs fixing
This commit is contained in:
parent
790e0bfe55
commit
975aab88e3
2 changed files with 36 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue