I tried to do it in a singleplayer world, it worked perfectly, i saved it into a hotbar and tried to get it that way. But when I went onto a minehut server and I loaded the hotbar it just gave me stone. I somehow managed to get the light block, but when I placed it it became stone again. Every other give command works.