From 3a7257e3a9d812cb566d7548a58f10d409d1ed18 Mon Sep 17 00:00:00 2001 From: Anthony Ronda Date: Tue, 9 May 2023 14:48:31 -0400 Subject: [PATCH] fix: replaced deprecated systemDataModels config --- src/ose.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ose.js b/src/ose.js index 783d1ed4..4b4a5566 100644 --- a/src/ose.js +++ b/src/ose.js @@ -74,11 +74,11 @@ Hooks.once("init", async () => { CONFIG.Actor.documentClass = OseActor; CONFIG.Item.documentClass = OseItem; - CONFIG.Actor.systemDataModels = { + CONFIG.Actor.dataModels = { character: OseDataModelCharacter, monster: OseDataModelMonster, }; - CONFIG.Item.systemDataModels = { + CONFIG.Item.dataModels = { weapon: OseDataModelWeapon, armor: OseDataModelArmor, item: OseDataModelItem,