From 5c532c7b8e3cae9519aee6dddf1e1ce01b782000 Mon Sep 17 00:00:00 2001 From: cora Date: Sun, 30 Jul 2023 06:02:42 +0200 Subject: [PATCH] Fix luacheck warnings in mcl_util --- .luacheckrc | 1 + mods/CORE/mcl_util/init.lua | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index 97b45ea76..1eeaa2f09 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -195,6 +195,7 @@ read_globals = { table = { fields = { update = { read_only = false }, + update_nil = { read_only = false }, merge = { read_only = false }, "copy", "indexof", diff --git a/mods/CORE/mcl_util/init.lua b/mods/CORE/mcl_util/init.lua index 3766f74b6..554390077 100644 --- a/mods/CORE/mcl_util/init.lua +++ b/mods/CORE/mcl_util/init.lua @@ -1063,8 +1063,6 @@ function mcl_util.in_cube(tpos, wpos1, wpos2) return false end -vector.in_cube = mcl_util.in_cube - function mcl_util.traverse_tower(pos, dir, callback) local node = minetest.get_node(pos) local i = 0