Skip to content

Commit

Permalink
Merge pull request #24 from AngryBeaver/fix_2_3_2
Browse files Browse the repository at this point in the history
Fix 2 3 2
  • Loading branch information
AngryBeaver authored Feb 6, 2023
2 parents 1930fe3 + a3e9b65 commit fddd047
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/apps/ToolConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit fddd047

Please sign in to comment.