diff options
Diffstat (limited to 'stairsplus/slabs.lua')
-rw-r--r-- | stairsplus/slabs.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index 3af7d7e..18a25a7 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -65,6 +65,7 @@ end function stairsplus:register_slab(modname, subname, recipeitem, fields) local defs = stairsplus.copytable(slabs_defs) local desc_base = S("%s Slab"):format(fields.description) + local use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or fields.use_texture_alpha for alternate, shape in pairs(defs) do local def = {} @@ -94,6 +95,7 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields) def.drawtype = "nodebox" def.paramtype = "light" def.paramtype2 = def.paramtype2 or "facedir" + def.use_texture_alpha = use_texture_alpha def.on_place = minetest.rotate_node def.groups = stairsplus:prepare_groups(fields.groups) if alternate == "_1" or alternate == "_two_sides" then |