mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-23 02:31:52 +02:00
DOCS: state that get_wielded_item returns a copy of the item
This commit is contained in:
parent
d16d1a1341
commit
4d9a67682d
|
@ -7457,7 +7457,7 @@ child will follow movement and rotation of that bone.
|
|||
* `get_wield_list()`: returns the name of the inventory list the wielded item
|
||||
is in.
|
||||
* `get_wield_index()`: returns the wield list index of the wielded item (starting with 1)
|
||||
* `get_wielded_item()`: returns the wielded item as an `ItemStack`
|
||||
* `get_wielded_item()`: returns a copy of the wielded item as an `ItemStack`
|
||||
* `set_wielded_item(item)`: replaces the wielded item, returns `true` if
|
||||
successful.
|
||||
* `get_armor_groups()`:
|
||||
|
|
Loading…
Reference in a new issue