change .NET version to 4.0

This commit is contained in:
BruceChen 2022-07-24 22:03:02 +08:00
parent 735d182468
commit 3429989527
5 changed files with 9 additions and 17 deletions

View file

@ -302,7 +302,6 @@ namespace MinecraftClient.Protocol.Handlers
for (int i = 0; i < worldCount; i++)
dataTypes.ReadNextString(packetData); // World Names - 1.16 and above
dataTypes.ReadNextNbt(packetData); // Dimension Codec - 1.16 and above
}
string currentDimensionName = null;
@ -383,7 +382,7 @@ namespace MinecraftClient.Protocol.Handlers
if (protocolversion >= MC1162Version)
dimensionTypeInRespawn = dataTypes.ReadNextNbt(packetData);
else
dataTypes.ReadNextString(packetData);
dataTypes.ReadNextString(packetData);
this.currentDimension = 0;
}
else