don't stop weather twice

This commit is contained in:
cora 2021-09-28 03:10:02 +02:00
parent 336c188ab7
commit cff2d445f7
1 changed files with 0 additions and 1 deletions

View File

@ -333,7 +333,6 @@ minetest.register_chatcommand("weather", {
local def=mcl_weather.get_weatherdef(param)
local old_weather=mcl_weather.current
if def then
mcl_weather.stop_weather(mcl_weather.get_weatherdef(mcl_weather.current))
if duration then
def.min_duration=duration
def.max_duration=duration