forked from VoxeLibre/VoxeLibre
correctly handle place_param2 lol
This commit is contained in:
parent
e2f51e0779
commit
603e0ba774
|
@ -1401,7 +1401,7 @@ minetest.register_abm({
|
|||
return
|
||||
end
|
||||
local n0 = minetest.get_node(p0)
|
||||
if n0.param2 ~= 1 then
|
||||
if n0.param2 == 1 then
|
||||
-- Prevent leafdecay for player-placed leaves.
|
||||
-- param2 is set to 1 after it was placed by the player
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue