mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-28 05:21:05 +01:00
Patch mcl_doors for pickblock
This commit is contained in:
parent
174ad29e0a
commit
af092f35d9
2 changed files with 4 additions and 0 deletions
|
@ -327,6 +327,8 @@ function mcl_doors:register_door(name, def)
|
||||||
on_rotate = nil,
|
on_rotate = nil,
|
||||||
|
|
||||||
can_dig = check_player_priv,
|
can_dig = check_player_priv,
|
||||||
|
|
||||||
|
_vl_pickblock = name,
|
||||||
}
|
}
|
||||||
|
|
||||||
local _b_1_def = table.copy(template_def)
|
local _b_1_def = table.copy(template_def)
|
||||||
|
|
|
@ -236,6 +236,7 @@ function mcl_doors:register_trapdoor(name, def)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
on_rotate = on_rotate,
|
on_rotate = on_rotate,
|
||||||
|
_vl_pickblock = name,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Climbable opened
|
-- Climbable opened
|
||||||
|
@ -267,6 +268,7 @@ function mcl_doors:register_trapdoor(name, def)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
on_rotate = on_rotate,
|
on_rotate = on_rotate,
|
||||||
|
_vl_pickblock = name,
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("doc") then
|
if minetest.get_modpath("doc") then
|
||||||
|
|
Loading…
Reference in a new issue