mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Rename set_weather to weather command
This commit is contained in:
parent
45e45e9c66
commit
f1cfee9c78
1 changed files with 4 additions and 4 deletions
|
@ -132,9 +132,9 @@ minetest.register_privilege("weather_manager", {
|
|||
})
|
||||
|
||||
-- Weather command definition. Set
|
||||
minetest.register_chatcommand("set_weather", {
|
||||
params = "<weather>",
|
||||
description = "Changes weather by given param, parameter none will remove weather.",
|
||||
minetest.register_chatcommand("weather", {
|
||||
params = "none | rain | snow | thunder",
|
||||
description = "Changes the weather to the specified parameter.",
|
||||
privs = {weather_manager = true},
|
||||
func = function(name, param)
|
||||
if (param == "none") then
|
||||
|
|
Loading…
Reference in a new issue