The bug
/time set <timemarker> command is unable to decrease time.
This makes /time set <timemarker> not working properly with non-looping (i.e. without period_ticks field) timelines.
Steps to reproduce
Install the attached datapack and rejoin the world. The datapack creates a paused world clock
example:clock.Set time to constant 0:
/time of example:clock set 0.Query time:
/time of example:clock query time→ 0 ✅Set time to the marker of 1:
/time of example:clock set example:one.Query time → 1 ✅
Set time to the marker of 2:
/time of example:clock set example:two.Query time → 2 ✅
Set time to the marker of 1:
/time of example:clock set example:one.Query time → 2 ❌
Expected behavior
The outputs of (5) and (9) should be consistent.
Observed behavior
The output of (9) is not 1.
Attachments
Comments 0
No comments.