Refer to my comment on this post: http://forums.bukkit.org/threads/cant-place-a-bed.125459/#post-1522730