Get the base Actor sheet working w/ collaboration

This commit is contained in:
Oliver-Akins 2024-08-28 22:36:12 -06:00
parent 60b0072bcc
commit ce9c2de751
18 changed files with 320 additions and 22 deletions

View file

@ -4,6 +4,8 @@ import { ActorProxy } from "./documents/Actor/_proxy.mjs";
import { ChatMessageProxy } from "./documents/ChatMessage/_proxy.mjs";
import { ItemProxy } from "./documents/Item/_proxy.mjs";
// DataModel Imports
import { PlayerData } from "./documents/Actor/Player/Model.mjs";
// Misc Imports
import "./utils/logger.mjs";
@ -19,6 +21,9 @@ Hooks.once(`init`, () => {
registerSettings();
// Data Models
CONFIG.Actor.dataModels.player = PlayerData;
// Update document classes
CONFIG.Actor.documentClass = ActorProxy;
CONFIG.Item.documentClass = ItemProxy;