mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-08-02 19:50:17 +02:00
Fix most luacheck issues.
There are 3 false positives remaining after this patch, so the bulk of the issues are fixed now.
This commit is contained in:
@ -268,8 +268,6 @@ homedecor.register("swing", {
|
||||
local fdir = minetest.dir_to_facedir(placer:get_look_dir())
|
||||
for j = 0, height do -- then fill that space with ropes...
|
||||
local testpos = { x=pos.x, y=pos.y-j, z=pos.z }
|
||||
local testnode = minetest.get_node(testpos)
|
||||
local testreg = core.registered_nodes[testnode.name]
|
||||
minetest.set_node(testpos, { name = "homedecor:swing_rope", param2 = fdir })
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user