fix error in decomposing leaves placement.
one place accidentally used the position of the placed node, when it should have used the position below that.
This commit is contained in:
parent
bab117c98c
commit
8259231013
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ local function after_place_stack (pos)
|
|||
local below = pos + blockgame.vector.dirs.down
|
||||
if check_decompose(below) then
|
||||
local node = minetest.get_node(pos)
|
||||
local below_node = minetest.get_node(pos)
|
||||
local below_node = minetest.get_node(below)
|
||||
|
||||
local def = minetest.registered_nodes[node.name]
|
||||
local below_def = minetest.registered_nodes[below_node.name]
|
||||
|
|
Loading…
Reference in a new issue