Remove core.remove_detached_inventory (#193)
parent
04afd56375
commit
49d200d086
|
@ -17,8 +17,3 @@ function core.create_detached_inventory(name, callbacks, player_name)
|
||||||
core.detached_inventories[name] = stuff
|
core.detached_inventories[name] = stuff
|
||||||
return core.create_detached_inventory_raw(name, player_name)
|
return core.create_detached_inventory_raw(name, player_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
function core.remove_detached_inventory(name)
|
|
||||||
core.detached_inventories[name] = nil
|
|
||||||
return core.remove_detached_inventory_raw(name)
|
|
||||||
end
|
|
||||||
|
|
|
@ -2865,8 +2865,6 @@ and `minetest.auth_reload` call the authetification handler.
|
||||||
Note that this parameter is mostly just a workaround and will be removed
|
Note that this parameter is mostly just a workaround and will be removed
|
||||||
in future releases.
|
in future releases.
|
||||||
* Creates a detached inventory. If it already exists, it is cleared.
|
* 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, poison, itemstack, user, pointed_thing)`:
|
* `minetest.do_item_eat(hp_change, replace_with_item, poison, itemstack, user, pointed_thing)`:
|
||||||
returns left over ItemStack
|
returns left over ItemStack
|
||||||
* See `minetest.item_eat` and `minetest.register_on_item_eat`
|
* See `minetest.item_eat` and `minetest.register_on_item_eat`
|
||||||
|
|
Loading…
Reference in New Issue