• Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      CraftBukkit

    • N/A

      Steps to reproduce:

      1. Enter the server
      2. Clear the weather with "/weather clear"
      3. Run the command "/weather rain 10"

      Expected result:

      • Rain lasts for only the time you enter

      Actual result:

      • Rain lasts until cleared

      This was tested on both Vanilla 1.12 and CraftBukkit 1.12, it was only reproducible on CraftBukkit, I did not test on Spigot.

       

      This is due to the duration being set before it is set to rain or thunder, I have attached a patch for the CommandWeather class that resolves this bug.

            Assignee:
            Unassigned
            Reporter:
            SpiderRobotMan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: