mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-23 04:31:51 +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
|
* `get_wield_list()`: returns the name of the inventory list the wielded item
|
||||||
is in.
|
is in.
|
||||||
* `get_wield_index()`: returns the wield list index of the wielded item (starting with 1)
|
* `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
|
* `set_wielded_item(item)`: replaces the wielded item, returns `true` if
|
||||||
successful.
|
successful.
|
||||||
* `get_armor_groups()`:
|
* `get_armor_groups()`:
|
||||||
|
|
Loading…
Reference in a new issue