diff --git a/.gitignore b/.gitignore index 47906f4..a36d3e0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ # Node Modules node_modules/ package-lock.json + +worldbuilding.lock diff --git a/module/helper.js b/module/helper.js index d18e126..94a4bc9 100644 --- a/module/helper.js +++ b/module/helper.js @@ -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") } diff --git a/system.json b/system.json index 7331332..4e9fcf5 100644 --- a/system.json +++ b/system.json @@ -1,8 +1,8 @@ { "id": "worldbuilding", - "version": "0.7.2", + "version": "0.8.0", "title": "Simple World-Building", - "url": "https://gitlab.com/foundrynet/worldbuilding/", + "url": "https://github.com/foundryvtt/worldbuilding/", "description": "A minimalist game system which provides configurable Actor and Item templates to support free-form system agnostic game-play.", "license": "LICENSE.txt", "authors": [ @@ -23,13 +23,12 @@ ], "compatibility": { "minimum": "10", - "verified": "10.288", - "maximum": "10" + "verified": "11" }, "gridDistance": 5, "gridUnits": "ft", "primaryTokenAttribute": "health", "secondaryTokenAttribute": "power", "manifest": "https://raw.githubusercontent.com/foundryvtt/worldbuilding/master/system.json", - "download": "https://github.com/foundryvtt/worldbuilding/archive/refs/tags/release-072.zip" + "download": "https://github.com/foundryvtt/worldbuilding/archive/refs/tags/release-080.zip" }