Fix metadata optional blockID type

This commit is contained in:
ReinforceZwei 2020-08-25 17:04:55 +08:00 committed by ORelio
parent b648e4f86d
commit 9b8213eca5

View file

@ -576,10 +576,7 @@ namespace MinecraftClient.Protocol.Handlers
}
break;
case 13: // Optional BlockID (VarInt)
if (ReadNextBool(cache))
{
value = ReadNextVarInt(cache);
}
value = ReadNextVarInt(cache);
break;
case 14: // NBT
value = ReadNextNbt(cache);