mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-12-01 06:02:59 +00:00
Fix iron trapdoor being non-usable
This commit is contained in:
parent
4706fe243a
commit
fd0a7aa616
1 changed files with 10 additions and 4 deletions
|
@ -531,10 +531,10 @@ minetest.register_node("doors:trapdoor", {
|
||||||
on_creation = function(pos)
|
on_creation = function(pos)
|
||||||
state = 0
|
state = 0
|
||||||
end,
|
end,
|
||||||
mesecons = {effector = {
|
mesecons = {effector = {
|
||||||
action_on = (function(pos, node)
|
action_on = (function(pos, node)
|
||||||
punch(pos)
|
punch(pos)
|
||||||
end),
|
end),
|
||||||
}},
|
}},
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
punch(pos)
|
punch(pos)
|
||||||
|
@ -660,6 +660,9 @@ minetest.register_node("doors:iron_trapdoor", {
|
||||||
on_creation = function(pos)
|
on_creation = function(pos)
|
||||||
state = 0
|
state = 0
|
||||||
end,
|
end,
|
||||||
|
on_rightclick = function(pos, node, clicker)
|
||||||
|
punch(pos)
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
@ -686,6 +689,9 @@ minetest.register_node("doors:iron_trapdoor_open", {
|
||||||
punch(pos)
|
punch(pos)
|
||||||
end),
|
end),
|
||||||
}},
|
}},
|
||||||
|
on_rightclick = function(pos, node, clicker)
|
||||||
|
punch(pos)
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
Loading…
Reference in a new issue