Skip to content

Commit

Permalink
defect: Recipe option not self-deleting (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpotts authored Mar 22, 2023
1 parent 5235be2 commit 45f040d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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.3",
"version": "0.8.4",
"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.3",
"version": "0.8.4",
"description": "A system-agnostic, flexible crafting module for FoundryVTT",
"authors": [
{
Expand Down
4 changes: 4 additions & 0 deletions src/scripts/common/Recipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ class ResultOption implements Identifiable, Serializable<ResultOptionJson> {
this._results = results;
}

get isEmpty(): boolean {
return this._results.isEmpty();
}

get results(): Combination<CraftingComponent> {
return this._results;
}
Expand Down

0 comments on commit 45f040d

Please sign in to comment.