Register the spell data model as a DescribedItem
This commit is contained in:
parent
bd763a65a8
commit
1a525c4080
1 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
// Data Models
|
||||
import { DescribedItemData } from "./module/models/DescribedItemData.mjs";
|
||||
import { AspectItemData } from "./module/models/AspectItemData.mjs";
|
||||
import { PlayerData } from "./module/models/PlayerData.mjs";
|
||||
import { SyncData } from "./module/models/SyncData.mjs";
|
||||
|
|
@ -30,6 +31,7 @@ Hooks.once(`init`, () => {
|
|||
CONFIG.Actor.dataModels.player = PlayerData;
|
||||
CONFIG.Actor.dataModels.sync = SyncData;
|
||||
CONFIG.Item.dataModels.aspect = AspectItemData;
|
||||
CONFIG.Item.dataModels.spell = DescribedItemData;
|
||||
CONFIG.Actor.documentClass = ActorHandler;
|
||||
|
||||
CONFIG.DOTDUNGEON = DOTDUNGEON;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue