Skip to content

Commit

Permalink
Fix JSDocs for tool check hooks to match actual hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
arbron committed Sep 13, 2024
1 parent 4eaf1d3 commit 1513cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/documents/actor/actor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ export default class Actor5e extends SystemDocumentMixin(Actor) {

/**
* A hook event that fires before a tool check is rolled for an Actor.
* @function dnd5e.preRollRool
* @function dnd5e.preRollToolCheck
* @memberof hookEvents
* @param {Actor5e} actor Actor for which the tool check is being rolled.
* @param {D20RollConfiguration} config Configuration data for the pending roll.
Expand All @@ -1500,7 +1500,7 @@ export default class Actor5e extends SystemDocumentMixin(Actor) {

/**
* A hook event that fires after a tool check has been rolled for an Actor.
* @function dnd5e.rollTool
* @function dnd5e.rollToolCheck
* @memberof hookEvents
* @param {Actor5e} actor Actor for which the tool check has been rolled.
* @param {D20Roll} roll The resulting roll.
Expand Down

0 comments on commit 1513cd4

Please sign in to comment.