1
0
mirror of https://github.com/mt-mods/coloredwood.git synced 2025-07-20 16:40:31 +02:00

2 Commits

Author SHA1 Message Date
63f8499203 Corrige crash au démarrage 2020-06-20 15:11:28 +02:00
042d2867f7 Fix stack division with moreblocks items 2020-06-18 00:20:24 +02:00

View File

@ -128,11 +128,13 @@ if coloredwood.enable_stairsplus then
shape = string.sub(i.name, 23)
end
local s1, s2 = is_stairsplus(i.name, false)
minetest.override_item(i.name, {
groups = groups2,
paramtype2 = "colorfacedir",
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