mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix respawn packet (#1848)
This commit is contained in:
parent
bdcf3e5aa2
commit
333358c73b
1 changed files with 4 additions and 1 deletions
|
|
@ -355,7 +355,10 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
if (protocolversion >= MC116Version)
|
||||
{
|
||||
// TODO handle dimensions for 1.16+, needed for terrain handling
|
||||
dataTypes.ReadNextString(packetData);
|
||||
if (protocolversion >= MC1162Version)
|
||||
dataTypes.ReadNextNbt(packetData);
|
||||
else
|
||||
dataTypes.ReadNextString(packetData);
|
||||
this.currentDimension = 0;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue