Skip to content

Commit

Permalink
version 0.6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
p4535992 committed Oct 9, 2022
1 parent f2935a5 commit 432eb5e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 0.6.10

- BUg fix; https://github.com/p4535992/foundryvtt-inventory-plus/issues/14
- Bug fix: https://github.com/p4535992/foundryvtt-inventory-plus/issues/13

### 0.6.0-1-2-3-4-5-6-7-8-9

- Update fvtt10
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "inventory-plus",
"title": "Inventory+",
"description": "Enhances the default dnd5e sheets inventory to allow for reorganization",
"version": "0.6.9",
"version": "0.6.10",
"main": "main.js",
"scripts": {
"publish": "gulp publish --update",
Expand Down
6 changes: 3 additions & 3 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "inventory-plus",
"title": "Inventory+",
"description": "Enhances the default dnd5e sheets inventory to allow for reorganization",
"version": "0.6.9",
"version": "0.6.10",
"authors": [
{ "name": "Felix#6196" },
{
Expand Down Expand Up @@ -76,8 +76,8 @@
"url": "https://github.com/p4535992/foundryvtt-inventory-plus",
"manifest": "https://github.com/p4535992/foundryvtt-inventory-plus/releases/latest/download/module.json",
"download": "https://github.com/p4535992/foundryvtt-inventory-plus/releases/latest/download/module.zip",
"readme": "https://github.com/p4535992/foundryvtt-inventory-plus/blob/v0.6.9/README.md",
"changelog": "https://github.com/p4535992/foundryvtt-inventory-plus/blob/v0.6.9/CHANGELOG.md",
"readme": "https://github.com/p4535992/foundryvtt-inventory-plus/blob/v0.6.10/README.md",
"changelog": "https://github.com/p4535992/foundryvtt-inventory-plus/blob/v0.6.10/CHANGELOG.md",
"bugs": "https://github.com/p4535992/foundryvtt-inventory-plus/issues",
"allowBugReporter": true,
"relationships": {
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/lib/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,6 @@ function _calcItemWeight(item: Item) {
export async function _isFromSameActor(actor, data) {
//@ts-ignore
const item = await Item.implementation.fromDropData(data);
return actor.id === item.parent?.uuid;
return actor.id === item.parent?.uuid || actor.uuid === item.parent?.uuid;
// return this.actor.id === item.parent?.uuid
}

0 comments on commit 432eb5e

Please sign in to comment.