From 4a7bb86803b541625310922c7c5aedbb237f8f36 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 13 Dec 2019 11:35:31 +0100 Subject: [PATCH] Fix odd redstone torch on wall placement --- mods/ITEMS/mcl_walls/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_walls/init.lua b/mods/ITEMS/mcl_walls/init.lua index 162227805..05ee367b8 100644 --- a/mods/ITEMS/mcl_walls/init.lua +++ b/mods/ITEMS/mcl_walls/init.lua @@ -52,7 +52,7 @@ local function update_wall(pos) local upnode = minetest.get_node({x = pos.x, y = pos.y+1, z = pos.z}) if sum == 5 or sum == 10 then local def = minetest.registered_nodes[upnode.name] - if (def and def.walkable) or upnode.name == "mcl_torches:torch" then + if (def and def.walkable) or (minetest.get_item_group(upnode.name, "torch") == 1) then sum = sum + 11 end end