Update types

This commit is contained in:
Johannes Loher 2021-02-05 02:35:47 +01:00
parent cd86857b43
commit 2641b1ee74
5 changed files with 38 additions and 38 deletions

View file

@ -1,3 +1,4 @@
import { DS4 } from "../../config";
import { DS4Item } from "../../item/item";
import { DS4ItemData, ItemType } from "../../item/item-data";
import { DS4Actor } from "../actor";
@ -55,7 +56,7 @@ export class DS4ActorSheet extends ActorSheet<unknown, DS4Actor> {
const data = {
...super.getData(),
// Add the localization config to the data:
config: CONFIG.DS4,
config: DS4,
// Add the items explicitly sorted by type to the data:
itemsByType: this.actor.itemTypes,
};