Fixed #1632 and #1648 by adding missing blocks in IsSolid.

This commit is contained in:
Milutinke 2022-08-29 00:55:11 +02:00
parent d7310e477b
commit 71d11f4155
2 changed files with 606 additions and 600 deletions

File diff suppressed because it is too large Load diff

View file

@ -806,12 +806,7 @@ namespace MinecraftClient.Protocol.Handlers
}
else
{
if (protocolVersion < MC_1_19_Version)
handler.GetWorld().SetBlock(dataTypes.ReadNextLocation(packetData), new Block((ushort)dataTypes.ReadNextVarInt(packetData)));
else
{
// 1.19 disabled due to crashing
}
handler.GetWorld().SetBlock(dataTypes.ReadNextLocation(packetData), new Block((ushort)dataTypes.ReadNextVarInt(packetData)));
}
}
break;