lua_api.txt: Fix minor typo (#9917)

This commit is contained in:
ANAND 2020-05-24 15:18:19 +05:30 committed by GitHub
parent 10c3002aea
commit 8ee2ece3c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4494,7 +4494,7 @@ Call these functions only at load time!
* The same as before, except that it is called before the player crafts, to * The same as before, except that it is called before the player crafts, to
make craft prediction, and it should not change anything. make craft prediction, and it should not change anything.
* `minetest.register_allow_player_inventory_action(function(player, action, inventory, inventory_info))` * `minetest.register_allow_player_inventory_action(function(player, action, inventory, inventory_info))`
* Determinates how much of a stack may be taken, put or moved to a * Determines how much of a stack may be taken, put or moved to a
player inventory. player inventory.
* `player` (type `ObjectRef`) is the player who modified the inventory * `player` (type `ObjectRef`) is the player who modified the inventory
`inventory` (type `InvRef`). `inventory` (type `InvRef`).