mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-08 23:16:12 +01:00
REFACTOR: remove unused methods
REFACTOR: create method on BaseActorSheet REFACTOR: make Datamodel metadata getter
This commit is contained in:
parent
72e6bf055c
commit
79a4c13a1b
12 changed files with 103 additions and 75 deletions
|
|
@ -11,7 +11,7 @@ export default class DhpActor extends foundry.documents.Actor {
|
|||
* @returns {boolean}
|
||||
*/
|
||||
get isNPC() {
|
||||
return this.system.constructor.metadata.isNPC;
|
||||
return this.system.metadata.isNPC;
|
||||
}
|
||||
|
||||
async _preCreate(data, options, user) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue