Change byte to VarInt in UseBedCodec