don't redefine moreblocks "wood tile"

(it isn't colorable :P )
This commit is contained in:
Vanessa Ezekowitz 2017-03-14 00:03:48 -04:00
parent e3dc4a0507
commit 59d82c1820
1 changed files with 13 additions and 10 deletions

View File

@ -198,6 +198,8 @@ end
or string.find(i.name, "moreblocks:panel_wood")
or string.find(i.name, "moreblocks:micro_wood")
or string.find(i.name, "moreblocks:slope_wood") then
local a,b = string.find(i.name, "wood_tile")
if not a then
local s1, s2 = is_stairsplus(i.name, false)
minetest.override_item(i.name, {
ud_replacement_node = "coloredwood:"..s1.."_wood_grey"..s2,
@ -206,6 +208,7 @@ end
})
end
end
end
-- fix drops for colored versions of stairsplus nodes