mojira.dev
MC-122595

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

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

Comments 9

This occurs in Version 18w30b.

Affects 18w32a. Coincidentally, specifying a Value of 1 doesn't work either.

Affects 1.13-pre1. Specifying a Value of 1 only works if the gamerule doWeatherCycle is set to true.

Affects 1.13-pre2.

Can confirm in 20w48a.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w06a.

AgentToblerone

slicedlime

Confirmed

Commands

Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, ..., 20w48a, 20w51a, 21w03a, 21w05b, 21w06a

23w03a

Retrieved