mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Clarify API documentation
This commit is contained in:
parent
3ba7a40251
commit
57ce5143b9
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ Drop registered inventories on player death.
|
||||||
|
|
||||||
## mcl_death_drop.register_dropped_list(inv, listname, drop)
|
## mcl_death_drop.register_dropped_list(inv, listname, drop)
|
||||||
* inv: can be:
|
* inv: can be:
|
||||||
* "PLAYER": player inventory (to avoid multiple calling to get_inventory())
|
* "PLAYER": will be interpreted like player inventory (to avoid multiple calling to get_inventory())
|
||||||
* function: must return inventory
|
* function(player): must return inventory
|
||||||
* listname: string
|
* listname: string
|
||||||
* drop: bool
|
* drop: bool
|
||||||
* true: the entire list will be dropped
|
* true: the entire list will be dropped
|
||||||
|
|
Loading…
Reference in a new issue