mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Add option to also check the center to find_node_near
(#5255)
* Add option to also check the center to `find_node_near`
This commit is contained in:
parent
6fb27d3b2e
commit
d6cf5450a8
3 changed files with 12 additions and 10 deletions
|
@ -116,7 +116,7 @@ private:
|
|||
// get_day_count() -> int
|
||||
static int l_get_day_count(lua_State *L);
|
||||
|
||||
// find_node_near(pos, radius, nodenames) -> pos or nil
|
||||
// find_node_near(pos, radius, nodenames, search_center) -> pos or nil
|
||||
// nodenames: eg. {"ignore", "group:tree"} or "default:dirt"
|
||||
static int l_find_node_near(lua_State *L);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue