You can only sleep when the time is day, and beds explode if the dimension is not Overworld.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1592 0a769ca7-a7f5-676a-18bf-c427514a06d6