mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +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)
|
||||
* inv: can be:
|
||||
* "PLAYER": player inventory (to avoid multiple calling to get_inventory())
|
||||
* function: must return inventory
|
||||
* "PLAYER": will be interpreted like player inventory (to avoid multiple calling to get_inventory())
|
||||
* function(player): must return inventory
|
||||
* listname: string
|
||||
* drop: bool
|
||||
* true: the entire list will be dropped
|
||||
|
|
Loading…
Reference in a new issue