From 042d2867f717ccddafbda6a1dfbe2272b0a91347 Mon Sep 17 00:00:00 2001 From: sys4 Date: Thu, 18 Jun 2020 00:20:24 +0200 Subject: [PATCH] Fix stack division with moreblocks items --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 54aa708..6345c59 100644 --- a/init.lua +++ b/init.lua @@ -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 + drop = "moreblocks:"..s1.."_wood"..s2 -- NALC: Fix stack division with moreblocks }) end end