parent
1c47f180fc
commit
299f29824e
|
@ -17,7 +17,6 @@ minetest.register_chatcommand("setweather", {
|
||||||
minetest.chat_send_player(name, "avalible weather types: "..types)
|
minetest.chat_send_player(name, "avalible weather types: "..types)
|
||||||
else
|
else
|
||||||
weather.type = param
|
weather.type = param
|
||||||
save_weather()
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
@ -40,7 +39,6 @@ minetest.register_chatcommand("setwind", {
|
||||||
end
|
end
|
||||||
if x and z then
|
if x and z then
|
||||||
weather.wind = vector.new(x,0,z)
|
weather.wind = vector.new(x,0,z)
|
||||||
save_weather()
|
|
||||||
else
|
else
|
||||||
minetest.chat_send_player(name, param.." are not two comma seperated numbers")
|
minetest.chat_send_player(name, param.." are not two comma seperated numbers")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue