mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-29 18:16:27 -04:00
add doors check
This commit is contained in:
parent
037923fe4a
commit
601fdf0dc5
1 changed files with 3 additions and 0 deletions
|
@ -205,6 +205,8 @@ minetest.register_lbm({
|
|||
|
||||
-- Register steel bar doors and trapdoors
|
||||
|
||||
if minetest.get_modpath( "doors") then
|
||||
|
||||
doors.register("xpanes:door_steel_bar", {
|
||||
tiles = {{name = "xpanes_door_steel_bar.png", backface_culling = true}},
|
||||
description = S("Steel Bar Door"),
|
||||
|
@ -240,3 +242,4 @@ minetest.register_craft({
|
|||
{"xpanes:bar_flat", "xpanes:bar_flat"},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue