Fix crash when trying to strip hollow logs (#4822)

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4822
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
This commit is contained in:
Mikita Wiśniewski 2025-01-05 18:40:38 +01:00 committed by the-real-herowl
parent ae5353b070
commit 6011a31aad

View File

@ -61,7 +61,7 @@ function vl_hollow_logs.register_hollow_log(defs)
tiles = {modname .. "_"..name..".png"},
_mcl_blast_resistance = 2,
_mcl_hardness = 2,
_mcl_stripped_variant = modname .. ":stripped_"..name.."_hollow"
_mcl_stripped_variant = modname .. ":"..stripped_name.."_hollow"
})
minetest.register_node(modname .. ":"..stripped_name.."_hollow", {