diff --git a/module/helper.js b/module/helper.js index 5f310e6..e01438b 100644 --- a/module/helper.js +++ b/module/helper.js @@ -521,7 +521,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.TYPES[0]; + const defaultType = this.TYPES.filter(t => t !== CONST.BASE_DOCUMENT_TYPE)[0] ?? CONST.BASE_DOCUMENT_TYPE; const types = { [defaultType]: game.i18n.localize("SIMPLE.NoTemplate") }