I was playing on my minehut server with my friend and I tried to spawn a llama but it wouldn't work. Bees weren't working either. My friend was using the pre release of optifine and he was using a schematics client mod. Could any of these be causing it? He was playing on 1.15 as well btw.
Edit: I fixed it by changing my difficulty to normal.