diff --git a/changelog.md b/changelog.md index 173fef5..1fa441c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog ## 2.3.x feature system independent +## 2.3.2 fix tools +fixed: using tools was completely broken. +(jfi: tools are deprecated in favour of attendants dnd5e only) ## 2.3.1 bug pulling items from compendium fixed: when dropping items from compendium they no longer have an itemType thus they will not be detected correctly as equal to any item on actor. diff --git a/module.json b/module.json index fc8fb16..000398c 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "title": "Beaver's Crafting Module", "description": "A Crafting Module for DnD", "id": "beavers-crafting", - "version": "2.3.1", + "version": "2.3.2", "authors": [ { "name": "angryBeaver", diff --git a/package.json b/package.json index 21060be..0268f30 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "beavers-crafting", "title": "Beaver's Crafting", - "version": "2.3.1", + "version": "2.3.2", "description": "Crafting", "devDir": "C:\\Users\\Riess\\AppData\\Local\\FoundryVTT\\Data\\modules", "main": "src/main.js", diff --git a/src/apps/ToolConfig.ts b/src/apps/ToolConfig.ts index 8362804..6f68a6f 100644 --- a/src/apps/ToolConfig.ts +++ b/src/apps/ToolConfig.ts @@ -99,6 +99,6 @@ async function _setToolConfig(){ } async function _addToolConfig(uuid){ const item = await getItem(uuid); - const component = beaversSystemInterface.componentCreate({...item,type:"Tool"}); + const component = beaversSystemInterface.componentFromEntity(item); components.push(component); }