Attempt to make players able to sleep on daytime

Failed to get the actual method causing players to enter beds.
Setting the event result to OK just makes them sleep for 1 Tick.
Somehow i might need to access EntityPlayer.sleepTimer or find an other
way to solve this.
Ideas are welcome!