You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor custom target's getSourcesFor to use _getSourcesFor instead so it's not duplicating logic. Also pass the the "this item" to the function to verify things against "this item" (i.e. if this is equipped or something like that which can't be obtained other ways).
Also potentially change signature (would be breaking) so it accepts "item" and/or "action" and "actionUse" individually which is easier for someone to consume to write their own function.
The text was updated successfully, but these errors were encountered:
refactor custom target's
getSourcesFor
to use_getSourcesFor
instead so it's not duplicating logic. Also pass the the "this item" to the function to verify things against "this item" (i.e. if this is equipped or something like that which can't be obtained other ways).Also potentially change signature (would be breaking) so it accepts "item" and/or "action" and "actionUse" individually which is easier for someone to consume to write their own function.
The text was updated successfully, but these errors were encountered: