mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-27 22:05:17 +01:00
Item metadata:Fix typo in lua_api.txt
This commit is contained in:
@@ -2777,7 +2777,7 @@ an itemstring, a table or `nil`.
|
||||
* `set_wear(wear)`: Returns boolean success.
|
||||
Clears item on failure.
|
||||
* `get_meta()`: Returns Item Metadata as an ItemStackMetaRef.
|
||||
* `get_metadata()`: (DEPRECATED) Returns the empty string ("") field of the mtem metadata.
|
||||
* `get_metadata()`: (DEPRECATED) Returns the empty string ("") field of the item metadata.
|
||||
* `set_metadata(metadata)`: (DEPRECATED) Sets the empty string ("") field of the item metadata to 'metadata'. Returns true.
|
||||
* `clear()`: removes all items from the stack, making it empty.
|
||||
* `replace(item)`: replace the contents of this stack.
|
||||
|
||||
Reference in New Issue
Block a user