parent
f8169ca2f3
commit
0cbbccc850
|
@ -9,7 +9,7 @@ minetest.register_chatcommand("setweather", {
|
||||||
description = "Set weather to rain, snow or none", -- full description
|
description = "Set weather to rain, snow or none", -- full description
|
||||||
privs = {weather = true},
|
privs = {weather = true},
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
weather = param
|
weather.type = param
|
||||||
save_weather()
|
save_weather()
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue