1
0
Fork 0

Clarify API documentation

This commit is contained in:
AFCMS 2021-03-27 23:39:22 +01:00
parent 3ba7a40251
commit 57ce5143b9
1 changed files with 2 additions and 2 deletions

View File

@ -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