Fix luacheck warnings in mcl_util

This commit is contained in:
cora 2023-07-30 06:02:42 +02:00 committed by ryvnf
parent 6f66f9e7ae
commit 5c532c7b8e
2 changed files with 1 additions and 2 deletions

View File

@ -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",

View File

@ -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