forked from mtcontrib/coloredwood
Fix stack division with moreblocks items
This commit is contained in:
parent
be4df6fc88
commit
042d2867f7
2
init.lua
2
init.lua
|
@ -128,11 +128,13 @@ if coloredwood.enable_stairsplus then
|
||||||
shape = string.sub(i.name, 23)
|
shape = string.sub(i.name, 23)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local s1, s2 = is_stairsplus(i.name, false)
|
||||||
minetest.override_item(i.name, {
|
minetest.override_item(i.name, {
|
||||||
groups = groups2,
|
groups = groups2,
|
||||||
paramtype2 = "colorfacedir",
|
paramtype2 = "colorfacedir",
|
||||||
palette = "unifieddyes_palette_greys.png",
|
palette = "unifieddyes_palette_greys.png",
|
||||||
airbrush_replacement_node = "coloredwood:"..class.."_wood_grey_"..shape
|
airbrush_replacement_node = "coloredwood:"..class.."_wood_grey_"..shape
|
||||||
|
drop = "moreblocks:"..s1.."_wood"..s2 -- NALC: Fix stack division with moreblocks
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue