Fix luacheck warnings in mcl_util
This commit is contained in:
parent
6f66f9e7ae
commit
5c532c7b8e
@ -195,6 +195,7 @@ read_globals = {
|
|||||||
table = {
|
table = {
|
||||||
fields = {
|
fields = {
|
||||||
update = { read_only = false },
|
update = { read_only = false },
|
||||||
|
update_nil = { read_only = false },
|
||||||
merge = { read_only = false },
|
merge = { read_only = false },
|
||||||
"copy",
|
"copy",
|
||||||
"indexof",
|
"indexof",
|
||||||
|
@ -1063,8 +1063,6 @@ function mcl_util.in_cube(tpos, wpos1, wpos2)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
vector.in_cube = mcl_util.in_cube
|
|
||||||
|
|
||||||
function mcl_util.traverse_tower(pos, dir, callback)
|
function mcl_util.traverse_tower(pos, dir, callback)
|
||||||
local node = minetest.get_node(pos)
|
local node = minetest.get_node(pos)
|
||||||
local i = 0
|
local i = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user