fixed it this time

master
DonBatman 2015-05-06 16:58:58 -07:00
parent 800ec6bd25
commit c169cbbbfc
2 changed files with 3 additions and 3 deletions

View File

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

View File

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