Simplify getting the source name of effects

This commit is contained in:
Johannes Loher 2021-07-20 02:35:55 +02:00
parent e39d245aff
commit 4d2a7d1686
6 changed files with 17 additions and 17 deletions

View file

@ -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();
}
}