Night Time Doesn't Immediately Allow Sleep
Through the command /time set night you cannot immediately sleep. Instead you must wait a couple of seconds to do so, even though you should be able to sleep at night.
Environment
Microsoft Windows 8 Pro 64-bit, Java SE8 Build b94
Linked Issues
is duplicated by1
Created Issue:
Night Doesn't Immediately Allow Sleep
Through the command /time set night you cannot immediately sleep. Instead you must wait a couple of seconds to do so, even though you should be able to sleep at night.
Environment
Microsoft Windows 8, Java SE7 U10.
Changed Summary:
Night Time Doesn't Immediately Allow Sleep
Added Affects Versions: 13w06a
Added Attachments:
Changed Environment:
Microsoft Windows 8 Pro 64-bit, Java SE
7 U21.Microsoft Windows 8 Pro 64-bit, Java SE8 b89
Changed Environment:
Microsoft Windows 8 Pro 64-bit, Java SE8 Build b89
Added Affects Versions: 13w19a
Added Linked Issues:
is duplicated by
Changed Environment:
Microsoft Windows 8 Pro 64-bit, Java SE8 Build b
89Microsoft Windows 8 Pro 64-bit, Java SE8 Build b94
Added Assignee:
EvilSeph (Warren Loo)
Added Fixed Versions: 13w36a
Confirmed.
Confirmed in 13w06a.
It does allow immediate sleeping. What you consider night and what Minecraft/Minecraft Server itself considers night are different.
It doesn't @Platypus try it for yourself, and you will see if you use the command '/time set night' and then try to get into a bed you will still get the message that you can only sleep at night for a period of time.
I just did on 1.5.1 and it works fine. Once again, your definition of night may differ from the game itself's definition. It is not and should not be considered a bug.
I have tried on 1.5 and both 1.6 snapshots and once again, there is nothing wrong.
@Platypus I will upload a video later showing this bug since you seem to be unable to replicate it.
Still in 13w25a
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Still in 1.6.2 An easy way to reproduce this is to do /gamerule doDaylightCycle false, then do /time set night and then try to sleep.
Using /gamerule doDaylightCycle set to false, it is only possible to sleep when /time is set between 12540 (exclusive) and 23459 (exclusive). Since /time set night sets the time to 12500, it's not possible to sleep if doDaylightCycle is false, and you have to wait a few seconds to sleep otherwise. It would be better if /time set night used a different value, say 12550.