Why won't the villager take the bed and be panicked?

minecraft 0 376

Why won't the villager take the bed and be panicked?