forked from MineClone5/MineClone5
Clarify API documentation
This commit is contained in:
parent
3ba7a40251
commit
57ce5143b9
|
@ -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 New Issue