Skip to content

Commit e804343

Browse files
committed
Fixes #41
1 parent 898bf66 commit e804343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/documents/actor.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export class BasicFantasyRPGActor extends Actor {
159159
* Prepare character roll data.
160160
*/
161161
_getCharacterRollData(data) {
162-
if (this.system.type !== 'character') return;
162+
if (this.type !== 'character') return;
163163

164164
// Copy the ability scores to the top level, so that rolls can use
165165
// formulas like `@str.bonus + 4`.
@@ -179,7 +179,7 @@ export class BasicFantasyRPGActor extends Actor {
179179
* Prepare NPC roll data.
180180
*/
181181
_getMonsterRollData(data) {
182-
if (this.system.type !== 'monster') return;
182+
if (this.type !== 'monster') return;
183183

184184
// Process additional NPC data here.
185185

0 commit comments

Comments
 (0)