fixed smallblock deletion
This commit is contained in:
parent
7b89b978e6
commit
b8b4b91ae4
@ -99,9 +99,6 @@ common.on_right_click = function( position, node, clicker, itemstack, pointed_th
|
||||
end
|
||||
minetest.log("none", "result " .. util.bitmap_to_integer( finalBitmap ) )
|
||||
local finalNode_name = smallblocks.int_name_map[util.bitmap_to_integer( finalBitmap )]
|
||||
if( finalNode_name == "1" ) then
|
||||
finalNode_name = "smallblock"
|
||||
end
|
||||
local finalNode_facedir = smallblocks.int_facedir_map[util.bitmap_to_integer( finalBitmap )]
|
||||
local finalNode = { name="k_smallblocks:"..finalNode_name.."_"..targetNode_materialName, param2=finalNode_facedir }
|
||||
minetest.swap_node( target_node_position, finalNode )
|
||||
|
Loading…
x
Reference in New Issue
Block a user