Right-clicked on the bed. Then nothing happened, I pressed e then suddenly it said saving world and crashed. This is the crash log.
Also as a side note I tried adding optifine to the mod folder but then I can't even start the game as soon as it starts loading all the mods it crashes and gives...