So I put some dirt, redstone, dispensers, pistons and sticky pistons into a shulker box then I put it onto a llama's inventory it has the enderman carpet theme on it (purple) and it crashes my game whenever I put the shulker box into the llama's inventory.
Environment
The world is a superflat world, I haven't tried it with normal worlds yet though.
Java version: Java 8 update 101
Dupe of MC-107536