Fixed a issue when placing beds.

The bed item id and the bed block id were diffrent