[#41] [#50] Fix manifest issues. Fix TYPES deprecation warning. Bump v11 compatibility.

This commit is contained in:
Kim Mantas 2023-05-16 12:44:09 +01:00
parent 7bea16df17
commit 73addd7866
No known key found for this signature in database
GPG key ID: 3A4E57DAE36AC3C4
3 changed files with 7 additions and 6 deletions

View file

@ -523,7 +523,7 @@ export class EntitySheetHelper {
// Identify the template Actor types
const collection = game.collections.get(this.documentName);
const templates = collection.filter(a => a.getFlag("worldbuilding", "isTemplate"));
const defaultType = this.metadata.types[0];
const defaultType = this.TYPES[0];
const types = {
[defaultType]: game.i18n.localize("SIMPLE.NoTemplate")
}