forked from minetest-mods/mesecons
Add .luacheckrc and fix issues it pointed out (#589)
This commit is contained in:
committed by
GitHub
parent
c9dd323207
commit
fb255d292e
@ -59,7 +59,7 @@ minetest.register_node("mesecons_random:ghoststone_active", {
|
||||
}},
|
||||
on_construct = function(pos)
|
||||
-- remove shadow
|
||||
shadowpos = vector.add(pos, vector.new(0, 1, 0))
|
||||
local shadowpos = vector.add(pos, vector.new(0, 1, 0))
|
||||
if (minetest.get_node(shadowpos).name == "air") then
|
||||
minetest.dig_node(shadowpos)
|
||||
end
|
||||
|
Reference in New Issue
Block a user