MinecraftForge/MinecraftForge — pull request #1486 by Ivorforce (2014-11-02 18:50:35+00:00)
Title: Add the three parameters to PlayerWakeUpEvent, making it actually useful

Not much to describe here. wakeUpPlayer is called every time a player *exits* a bed, not if he wakes up. This PR simply passes the 3 parameters given to the event so that mods can react to different call situations accordingly.