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:
@@ -116,7 +116,7 @@ class ModApiEnvMod : public ModApiBase {
|
||||
// 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user