aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2018-10-10 20:48:58 +0200
committerGitHub <noreply@github.com>2018-10-10 20:48:58 +0200
commit0a5e77132ae8c495c50cfc58bbe4ce1bfcd377e3 (patch)
treed60c7186893663e2556d6d9efc46c14fd4520b0f /doc
parentd6f2a1c4b8ab13cee92e2041b3410fe3548e88e6 (diff)
downloadminetest-0a5e77132ae8c495c50cfc58bbe4ce1bfcd377e3.tar.gz
minetest-0a5e77132ae8c495c50cfc58bbe4ce1bfcd377e3.tar.bz2
minetest-0a5e77132ae8c495c50cfc58bbe4ce1bfcd377e3.zip
Add core.remove_detached_inventory (#7684)
Breaks backwards compatibility for good Bump protocol version
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index e144a2c8f..19d6482ae 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -4141,6 +4141,8 @@ Inventory
Note that this parameter is mostly just a workaround and will be removed
in future releases.
* Creates a detached inventory. If it already exists, it is cleared.
+* `minetest.remove_detached_inventory(name)`
+ * Returns a `boolean` indicating whether the removal succeeded.
* `minetest.do_item_eat(hp_change, replace_with_item, itemstack, user, pointed_thing)`:
returns left over ItemStack.
* See `minetest.item_eat` and `minetest.register_on_item_eat`