Place horse only on surface & only near by. Fixes lord-server/lord#513
This commit is contained in:
@@ -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)
|
--- [View in lua_api.txt](https://github.com/minetest/minetest/blob/5.4.1/doc/lua_api.txt#L4908-L4910)
|
||||||
--- `staticdata` [Optional] no info
|
--- `staticdata` [Optional] no info
|
||||||
--- @return ObjectRef|nil
|
--- @return ObjectRef|Entity|nil
|
||||||
function minetest.add_entity(pos, name, staticdata) end
|
function minetest.add_entity(pos, name, staticdata) end
|
||||||
--- Spawn item
|
--- Spawn item
|
||||||
--- * Returns `ObjectRef`, or `nil` if failed
|
--- * Returns `ObjectRef`, or `nil` if failed
|
||||||
|
|||||||
Reference in New Issue
Block a user