From 25d0f2b0c42c960d0d2d39726a7d4c10d0447430 Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 28 Nov 2022 11:19:45 +0100 Subject: [PATCH] Fix twisted vines breaking block when growing --- mods/ITEMS/mcl_crimson/init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_crimson/init.lua b/mods/ITEMS/mcl_crimson/init.lua index 55bfbb6b5..bc5b450fc 100644 --- a/mods/ITEMS/mcl_crimson/init.lua +++ b/mods/ITEMS/mcl_crimson/init.lua @@ -21,7 +21,9 @@ function grow_vines(pos, moreontop ,vine, dir) n = minetest.get_node(pos) if n.name == "air" then for i=0,math.max(moreontop,1) do - minetest.set_node(vector.offset(pos,0,i*dir,0),{name=vine}) + if minetest.get_node(pos).name == "air" then + minetest.set_node(vector.offset(pos,0,i*dir,0),{name=vine}) + end end break end