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

minecraft 0 377

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