Merge pull request 'fix node name' (#11) from Niklp/xdecor-libre:master into master
Reviewed-on: https://codeberg.org/Wuzzy/xdecor-libre/pulls/11
This commit is contained in:
commit
469fc6b1f8
@ -567,7 +567,7 @@ minetest.register_lbm({
|
|||||||
local downnode = minetest.get_node(down)
|
local downnode = minetest.get_node(down)
|
||||||
local downdef = minetest.registered_nodes[downnode.name]
|
local downdef = minetest.registered_nodes[downnode.name]
|
||||||
if updef and updef.walkable and downdef and not downdef.walkable then
|
if updef and updef.walkable and downdef and not downdef.walkable then
|
||||||
minetest.swap_node(pos, {name="xdecor:hanging_lantern"})
|
minetest.swap_node(pos, {name="xdecor:lantern_hanging"})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user