small fixes
This commit is contained in:
parent
1b0d474c1c
commit
077df8372e
20
.luacheckrc
20
.luacheckrc
|
@ -1,11 +1,23 @@
|
|||
allow_defined_top = true
|
||||
|
||||
read_globals = {
|
||||
"dump",
|
||||
"minetest",
|
||||
"dump", "vector",
|
||||
"VoxelManip", "VoxelArea",
|
||||
table = { fields = { "copy" } },
|
||||
"vector",
|
||||
"VoxelManip",
|
||||
"VoxelArea",
|
||||
table = { fields = {
|
||||
"copy"
|
||||
} },
|
||||
"lightning",
|
||||
}
|
||||
|
||||
ignore = {"211", "212", "213", "631"}
|
||||
ignore = {
|
||||
"211",
|
||||
"212",
|
||||
"213",
|
||||
"611",
|
||||
"612",
|
||||
"621",
|
||||
"631"
|
||||
}
|
||||
|
|
|
@ -28,9 +28,9 @@ minetest.register_chatcommand("setweather", {
|
|||
end
|
||||
})
|
||||
|
||||
-- Set weather
|
||||
-- Set wind
|
||||
minetest.register_chatcommand("setwind", {
|
||||
params = "<weather>",
|
||||
params = "<wind>",
|
||||
description = "Set windspeed to the given x,z direction", -- full description
|
||||
privs = {weather = true},
|
||||
func = function(name, param)
|
||||
|
|
Loading…
Reference in New Issue