add .luacheckrc and gh action

This commit is contained in:
BuckarooBanzay
2020-08-31 15:50:33 +02:00
parent 9fda51b650
commit 537e756091
6 changed files with 59 additions and 11 deletions

View File

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