diff --git a/mods/ITEMS/mcl_doors/api_doors.lua b/mods/ITEMS/mcl_doors/api_doors.lua index e392bc710..af85fac26 100644 --- a/mods/ITEMS/mcl_doors/api_doors.lua +++ b/mods/ITEMS/mcl_doors/api_doors.lua @@ -327,6 +327,8 @@ function mcl_doors:register_door(name, def) on_rotate = nil, can_dig = check_player_priv, + + _vl_pickblock = name, } local _b_1_def = table.copy(template_def) diff --git a/mods/ITEMS/mcl_doors/api_trapdoors.lua b/mods/ITEMS/mcl_doors/api_trapdoors.lua index 8bbefdda3..e889a5ffa 100644 --- a/mods/ITEMS/mcl_doors/api_trapdoors.lua +++ b/mods/ITEMS/mcl_doors/api_trapdoors.lua @@ -236,6 +236,7 @@ function mcl_doors:register_trapdoor(name, def) } }, on_rotate = on_rotate, + _vl_pickblock = name, }) -- Climbable opened @@ -267,6 +268,7 @@ function mcl_doors:register_trapdoor(name, def) } }, on_rotate = on_rotate, + _vl_pickblock = name, }) if minetest.get_modpath("doc") then