fix travelnet+scaffolding bug

This commit is contained in:
Sergei Mozhaisky 2020-05-15 19:21:14 +00:00
parent 7df5f9d248
commit f96d128d44

View File

@ -84,6 +84,9 @@ minetest.register_node("scaffolding:scaffolding", {
end
end,
on_rightclick = function(pos, node, player, itemstack, pointed_thing)
if not itemstack then
return
end
-- if user hits scaffolding with platform Wooden scaffolding then --
if itemstack:get_name() == "scaffolding:platform" then
node = "scaffolding:platform";