Fix iron trapdoor being non-usable
parent
4706fe243a
commit
fd0a7aa616
|
@ -660,6 +660,9 @@ minetest.register_node("doors:iron_trapdoor", {
|
|||
on_creation = function(pos)
|
||||
state = 0
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
punch(pos)
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
|
@ -686,6 +689,9 @@ minetest.register_node("doors:iron_trapdoor_open", {
|
|||
punch(pos)
|
||||
end),
|
||||
}},
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
punch(pos)
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
|
Loading…
Reference in New Issue