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,6 +355,9 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
if (protocolversion >= MC116Version)
|
if (protocolversion >= MC116Version)
|
||||||
{
|
{
|
||||||
// TODO handle dimensions for 1.16+, needed for terrain handling
|
// TODO handle dimensions for 1.16+, needed for terrain handling
|
||||||
|
if (protocolversion >= MC1162Version)
|
||||||
|
dataTypes.ReadNextNbt(packetData);
|
||||||
|
else
|
||||||
dataTypes.ReadNextString(packetData);
|
dataTypes.ReadNextString(packetData);
|
||||||
this.currentDimension = 0;
|
this.currentDimension = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue