Simplify getting the source name of effects
This commit is contained in:
parent
e39d245aff
commit
4d2a7d1686
6 changed files with 17 additions and 17 deletions
|
@ -21,4 +21,11 @@ export class DS4ActiveEffect extends ActiveEffect {
|
|||
}
|
||||
return super.apply(actor, change);
|
||||
}
|
||||
|
||||
/**
|
||||
* A public wrapper for {@link ActiveEffect#_getSourceName}.
|
||||
*/
|
||||
async getSourceName(): Promise<string> {
|
||||
return this._getSourceName();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue