small fixes

This commit is contained in:
theFox6 2019-05-25 11:58:52 +02:00
parent 1b0d474c1c
commit 077df8372e
Signed by: theFox6
GPG Key ID: C884FE8D3BCE128A
2 changed files with 18 additions and 6 deletions

View File

@ -1,11 +1,23 @@
allow_defined_top = true allow_defined_top = true
read_globals = { read_globals = {
"dump",
"minetest", "minetest",
"dump", "vector", "vector",
"VoxelManip", "VoxelArea", "VoxelManip",
table = { fields = { "copy" } }, "VoxelArea",
table = { fields = {
"copy"
} },
"lightning", "lightning",
} }
ignore = {"211", "212", "213", "631"} ignore = {
"211",
"212",
"213",
"611",
"612",
"621",
"631"
}

View File

@ -28,9 +28,9 @@ minetest.register_chatcommand("setweather", {
end end
}) })
-- Set weather -- Set wind
minetest.register_chatcommand("setwind", { minetest.register_chatcommand("setwind", {
params = "<weather>", params = "<wind>",
description = "Set windspeed to the given x,z direction", -- full description description = "Set windspeed to the given x,z direction", -- full description
privs = {weather = true}, privs = {weather = true},
func = function(name, param) func = function(name, param)