Initialize the data model and register it
This commit is contained in:
parent
b33258ec54
commit
5933473e4a
3 changed files with 21 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
import { HeroData } from "../data/Actor/Hero.mjs";
|
||||
import { Logger } from "../utils/Logger.mjs";
|
||||
|
||||
Hooks.once(`init`, () => {
|
||||
Logger.log(`Initializing`);
|
||||
|
||||
// Datamodel registrations
|
||||
CONFIG.Actor.dataModels.hero = HeroData;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue