Skip to content

Commit

Permalink
Update doc/lua_api.md
Browse files Browse the repository at this point in the history
Co-authored-by: sfan5 <[email protected]>
  • Loading branch information
andriyndev and sfan5 authored Feb 9, 2025
1 parent c22e6ce commit 65a126d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/lua_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7852,8 +7852,8 @@ An `InvRef` is a reference to an inventory.
(default: `false`).
* `remove_item(listname, stack, [match_meta])`: take as many items as specified from the
list, returns the items that were actually removed (as an `ItemStack`).
If `match_meta` is `true`, the function also takes metadata into account
(since version `5.11.0`).
If `match_meta` is `true`, an item is only taken when the metadata also matches
(since version `5.12.0`).
* `get_location()`: returns a location compatible to
`core.get_inventory(location)`.
* returns `{type="undefined"}` in case location is not known
Expand Down

0 comments on commit 65a126d

Please sign in to comment.