fixed it this time
parent
800ec6bd25
commit
c169cbbbfc
|
@ -96,8 +96,8 @@ after_place_node = function(pos, placer, itemstack, pointed_thing)
|
|||
local nodeu = minetest.get_node({x=pos.x,y=pos.y-1,z=pos.z})
|
||||
local nodea = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})
|
||||
local node = minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z})
|
||||
if nodeu.name == "mylandscaping:rwall_"..typ..mat then
|
||||
minetest.set_node(pos,{name="mylandscaping:rwall_"..typ..mat,param2=nodeu.param2})
|
||||
if nodeu.name == "mylandscaping:rwall_"..typ.."_"..mat then
|
||||
minetest.set_node(pos,{name="mylandscaping:rwall_"..typ.."_"..mat,param2=nodeu.param2})
|
||||
minetest.set_node({x=pos.x,y=pos.y-1,z=pos.z},{name="mylandscaping:rwall_b"..typ.."_"..mat,param2=nodeu.param2})
|
||||
end
|
||||
if nodea.name == "mylandscaping:rwall_"..typ..mat then
|
||||
|
|
|
@ -87,7 +87,7 @@ minetest.register_node('mylandscaping:rwall_'..typ.."_"..mat, {
|
|||
groups = grup,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'mylandscaping:rwall_'..drops..mat,
|
||||
drop = 'mylandscaping:rwall_'..drops.."_"..mat,
|
||||
selection_box = colbox,
|
||||
collision_box = colbox,
|
||||
|
||||
|
|
Loading…
Reference in New Issue