summaryrefslogtreecommitdiff
path: root/dryplants/juncus.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-10-25 12:14:05 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-10-25 12:14:05 -0400
commitf23603a325cfad46e16550521d4409300af40b49 (patch)
tree7884df937ec836ac4b79d90ab3ed6e068ed2c60d /dryplants/juncus.lua
parent9d67dc5e829951b288f266a316c0bce06e9ae66e (diff)
downloaddreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.tar
dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.tar.gz
dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.tar.bz2
dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.tar.xz
dreambuilder_modpack-f23603a325cfad46e16550521d4409300af40b49.zip
update biome_lib, plantlife (which includes switching
to Tenplus1's vines fork), and moretrees
Diffstat (limited to 'dryplants/juncus.lua')
-rw-r--r--dryplants/juncus.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/dryplants/juncus.lua b/dryplants/juncus.lua
index 34176ce..4ba1cab 100644
--- a/dryplants/juncus.lua
+++ b/dryplants/juncus.lua
@@ -18,9 +18,9 @@ abstract_dryplants.grow_juncus = function(pos)
if minetest.get_node(right_here).name == "air" -- instead of check_air = true,
or minetest.get_node(right_here).name == "default:junglegrass" then
if juncus_type == 2 then
- minetest.set_node(right_here, {name="dryplants:juncus_02"})
+ minetest.swap_node(right_here, {name="dryplants:juncus_02"})
else
- minetest.set_node(right_here, {name="dryplants:juncus"})
+ minetest.swap_node(right_here, {name="dryplants:juncus"})
end
end
end
@@ -57,9 +57,9 @@ minetest.register_node("dryplants:juncus", {
local juncus_type = math.random(2,3)
local right_here = {x=pos.x, y=pos.y+1, z=pos.z}
if juncus_type == 2 then
- minetest.set_node(right_here, {name="dryplants:juncus_02"})
+ minetest.swap_node(right_here, {name="dryplants:juncus_02"})
else
- minetest.set_node(right_here, {name="dryplants:juncus"})
+ minetest.swap_node(right_here, {name="dryplants:juncus"})
end
if not minetest.setting_getbool("creative_mode") then
itemstack:take_item()