setDurability

Bridge.setDurability(inventoryName, itemSlot, durability)

Arguments

  • inventoryName (string): The name of the inventory.

  • itemSlot (number): The slot of the item.

  • durability (number): The durability to set.

Returns

  • none

Example Usage

Bridge.setDurability("playerInventory", 1, 100)

Last updated