Skip to content

Commit

Permalink
Mark inventory as resolved when downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMettam committed Nov 21, 2023
1 parent b1ec127 commit 24e67bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/classes/public/GameObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ export class GameObject implements IGameObjectData
{
// Inventory is empty
this.inventory = [];
this.resolvedInventory = true;
return;
}

Expand Down Expand Up @@ -1064,6 +1065,7 @@ export class GameObject implements IGameObjectData
}
}
}
this.resolvedInventory = true;
}
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@caspertech/node-metaverse",
"version": "0.7.5",
"version": "0.7.6",
"description": "A node.js interface for Second Life.",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
Expand Down

0 comments on commit 24e67bd

Please sign in to comment.