Place horse only on surface & only near by. Fixes lord-server/lord#513

This commit is contained in:
alek13
2023-08-17 03:14:27 +03:00
parent f1cf10d9d9
commit b47c90f309

View File

@@ -981,7 +981,7 @@ function minetest.get_node_timer(pos) end
---
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4908-L4910)
--- `staticdata` [Optional] no info
--- @return ObjectRef|nil
--- @return ObjectRef|Entity|nil
function minetest.add_entity(pos, name, staticdata) end
--- Spawn item
--- * Returns `ObjectRef`, or `nil` if failed