Skip to content

Commit

Permalink
defect: Resolves issue preventing external component modification (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpotts authored Mar 23, 2023
1 parent 894edee commit 1b7e3f5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabricate",
"version": "0.8.5",
"version": "0.8.6",
"description": "A system-agnostic, flexible crafting module for FoundryVT",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/public/module.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "fabricate",
"title": "Fabricate",
"version": "0.8.5",
"version": "0.8.6",
"description": "A system-agnostic, flexible crafting module for FoundryVTT",
"authors": [
{
Expand Down
3 changes: 0 additions & 3 deletions src/scripts/system/ComponentDictionary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ export class ComponentDictionary implements Dictionary<CraftingComponentJson, Cr
}

insert(craftingComponent: CraftingComponent): void {
if (this._entriesByItemUuid.has(craftingComponent.itemUuid)) {
return;
}
if (craftingComponent.itemUuid !== NoFabricateItemData.UUID()) {
this._entriesByItemUuid.set(craftingComponent.itemUuid, craftingComponent);
}
Expand Down
3 changes: 0 additions & 3 deletions src/scripts/system/RecipeDictionary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ export class RecipeDictionary implements Dictionary<RecipeJson, Recipe> {
}

insert(recipe: Recipe): void {
if (this._entriesByItemUuid.has(recipe.itemUuid)) {
return;
}
if (recipe.itemUuid !== NoFabricateItemData.UUID()) {
this._entriesByItemUuid.set(recipe.itemUuid, recipe);
}
Expand Down

0 comments on commit 1b7e3f5

Please sign in to comment.