Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-122595

/weather command with duration 0 has the same weather for longer time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w03a
    • Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w03b, Minecraft 1.13-pre3, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w32a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, 1.15.2, 20w06a, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w06a
    • None
    • Confirmed
    • Commands

      The bug

      When running the command: /weather rain 0, it's expected to rain for 0 seconds and then become either clear or thunder. In other words, it's expected to change directly to another random weather. Currently it will continue to rain for a longer time.

      Side note

      1.12.2 displayed an error message when the duration was 0:

      The number you have entered (0) is too small, it must be at least 1
      

            slicedlime [Mojang] slicedlime
            AgentToblerone AgentToblerone
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: