Fix indentation level, 4

This commit is contained in:
ORelio 2020-06-29 22:01:29 +02:00
parent 2dfc08b45b
commit ff9ba2f2bb

View file

@ -228,12 +228,15 @@ namespace MinecraftClient.Protocol.Handlers
dataTypes.ReadNextString(packetData); // World Names - 1.16 and above
if (protocolversion >= MC116Version)
dataTypes.ReadNextNbt(packetData); // Dimension Codec - 1.16 and above
//Current dimension - String identifier in 1.16, number below 1.16
if (protocolversion >= MC191Version)
this.currentDimension = dataTypes.ReadNextInt(packetData);
else if (protocolversion >= MC116Version)
this.currentDimension = dataTypes.ReadNextString(packetData); //In 1.16 it was changed to "Identifier" which seems to be a string
this.currentDimension = dataTypes.ReadNextString(packetData);
else
this.currentDimension = (sbyte)dataTypes.ReadNextByte(packetData);
if (protocolversion < MC114Version)
dataTypes.ReadNextByte(packetData); // Difficulty - 1.13 and below
if (protocolversion >= MC116Version)