Skip to content

Commit

Permalink
clarify clearing cosmetics functionality in jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisNils authored Dec 1, 2024
1 parent 654b62c commit de81ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/party/ClientPartyMember.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ class ClientPartyMember extends PartyMember {

/**
* Updates multiple cosmetics for the client party member.
* If a cosmetic is set to `undefined` or any falsy value, it will be cleared.
* If a cosmetic is set to `undefined` or any falsy value, it will be cleared, if possible.
* If a cosmetic is not provided, it will remain unchanged.
* @param cosmetics An object specifying the cosmetics to update. Can be outfit, backpack, pickaxe or shoes.
* @param cosmetics An object specifying the cosmetics to update, including outfit, backpack, pickaxe and shoes.
* @throws {EpicgamesAPIError}
*/
public async setCosmetics(cosmetics: Cosmetics = {}) {
Expand Down

0 comments on commit de81ab5

Please sign in to comment.