SpoutDev/SpoutAPI — comment on commit 4c92384da1c2309e90d2f06233f064e4d214b867
File: src/main/java/org/getspout/api/event/entity/EntitySpawnEvent.java line 80
By aPunch:

I don't believe entities spawned by a sleeping player anymore. Instead, players cannot go to sleep while entities are nearby. BED can be removed.