Yeah, I figured it out. It was an issue with flower generating. When it generated flowers, sometimes it would generate flower with a blank block id. And whenever you touched one of these you would die instantly