forked from mtcontrib/coloredwood
don't redefine moreblocks "wood tile"
(it isn't colorable :P )
This commit is contained in:
parent
e3dc4a0507
commit
59d82c1820
3
init.lua
3
init.lua
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user