From ec415e4e37d0a9ee07ed0f574d00809346456896 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 12 Sep 2018 17:15:58 -0400 Subject: [PATCH] assign a proper paramtype2 and replacement node to cut slabs etc so that airbrush works --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index d2ffd1d..0af56c3 100644 --- a/init.lua +++ b/init.lua @@ -103,7 +103,7 @@ if coloredwood.enable_stairsplus then for _, i in pairs(minetest.registered_nodes) do - local chk = string.sub(i.name, 1, 21) + local chk = string.sub(i.name, 1, 20) if chk == "moreblocks:stair_woo" or chk == "moreblocks:slab_wood" @@ -125,7 +125,7 @@ if coloredwood.enable_stairsplus then minetest.override_item(i.name, { groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, not_in_creative_inventory=1, ud_param2_colorable = 1}, paramtype2 = "colorfacedir", - airbrush_replacement_node = "coloredwood:"..class.."_wood_grey"..shape + airbrush_replacement_node = "coloredwood:"..class.."_wood_grey_"..shape }) end end