fix for weather type none
This commit is contained in:
parent
14d5236a46
commit
0880497887
|
@ -17,7 +17,7 @@ minetest.register_chatcommand("setweather", {
|
||||||
end
|
end
|
||||||
minetest.chat_send_player(name, "avalible weather types: "..types)
|
minetest.chat_send_player(name, "avalible weather types: "..types)
|
||||||
else
|
else
|
||||||
if weather_mod.registered_downfalls[param] == nil then
|
if weather_mod.registered_downfalls[param] == nil and not param == "none" then
|
||||||
minetest.chat_send_player(name, "This type of weather is not registered.\n"..
|
minetest.chat_send_player(name, "This type of weather is not registered.\n"..
|
||||||
"To list all types of weather run the command without parameters.")
|
"To list all types of weather run the command without parameters.")
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue