mirror of
https://github.com/mt-mods/signs_lib.git
synced 2024-12-25 00:30:18 +01:00
allowing true
for horizontal pole function makes no sense
This commit is contained in:
parent
684e9237cd
commit
e92177b83e
2
api.lua
2
api.lua
@ -794,8 +794,6 @@ function signs_lib.check_for_horizontal_pole(pos, pointed_thing)
|
|||||||
local node = minetest.get_node(pos)
|
local node = minetest.get_node(pos)
|
||||||
local def = minetest.registered_items[node.name]
|
local def = minetest.registered_items[node.name]
|
||||||
return pdef.check_for_horiz_pole(pos, node, def, ppos, pnode, pdef)
|
return pdef.check_for_horiz_pole(pos, node, def, ppos, pnode, pdef)
|
||||||
elseif pdef.check_for_horiz_pole then
|
|
||||||
return true
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user