Fix double slab default description warning. Should use default unless neccessary. Why warn?

This commit is contained in:
ancientmarinerdev 2023-06-13 18:31:42 +01:00
parent 67260b16be
commit da19aceb06

View file

@ -213,7 +213,6 @@ function mcl_stairs.register_slab(subname, recipeitem, groups, images, descripti
-- Automatically generate double slab description -- Automatically generate double slab description
if not double_description then if not double_description then
double_description = S("Double @1", description) double_description = S("Double @1", description)
minetest.log("warning", "[stairs] No explicit description for double slab '"..double_slab.."' added. Using auto-generated description.")
end end
groups.slab = 1 groups.slab = 1