diff options
Diffstat (limited to 'molehills')
-rw-r--r-- | molehills/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/molehills/init.lua b/molehills/init.lua index cd8a0e3..c3e5a66 100644 --- a/molehills/init.lua +++ b/molehills/init.lua @@ -58,7 +58,7 @@ abstract_molehills.place_molehill = function(pos) and minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z-1}).name ~= "air" and minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z+1}).name ~= "air" and minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z-1}).name ~= "air" then - minetest.set_node(right_here, {name="molehills:molehill"}) + minetest.swap_node(right_here, {name="molehills:molehill"}) end end |