remove
static boolean remove(int itemId, int amount)
Content copied to clipboard
Removes the offered items whose ID matches the specified ID to the first trade window.
Return
True if all of the items were removed, and if at least one item was removed; false otherwise.
Parameters
itemId
The ID of the item you wish to remove.
amount
The amount of the item to remove.