Run luacheck and fix warnings.

This commit is contained in:
Tim 2016-08-05 23:30:47 +02:00
parent 971ee09e42
commit cac16639a5
2 changed files with 7 additions and 1 deletions

7
.luacheckrc Normal file

@ -0,0 +1,7 @@
unused_args = false
allow_defined_top = true
read_globals = {
"minetest",
"default",
}

@ -132,7 +132,6 @@ function enchanting.destruct(pos)
end
function enchanting.timer(pos)
local node = minetest.get_node(pos)
local num = #minetest.get_objects_inside_radius(pos, 0.9)
if num == 0 then