6 Commits

Author SHA1 Message Date
aa243a7b80 Sync 2023-02-02 18:35:15 +01:00
c061b67bb3 Sync 2023-02-02 18:32:47 +01:00
c6c8622552 Sync 2023-02-02 18:32:25 +01:00
f6104e533c Sync 2023-02-02 18:28:24 +01:00
23b6a41eac Sync 2023-02-02 18:25:16 +01:00
f0c5e7b95d Sync 2023-02-02 18:24:58 +01:00
2 changed files with 5 additions and 5 deletions

View File

@ -388,10 +388,10 @@ export class SoSActor extends Actor {
if ( alreadyInside.length >= container.system.container ) { if ( alreadyInside.length >= container.system.container ) {
ui.notifications.warn("Container is already full !"); ui.notifications.warn("Container is already full !");
} else { } else {
await this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':containerId }]); setTimeout(function() { this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':containerId }])}, 800 )
} }
} else if ( object && object.system.containerid) { // remove from container } else if ( object && object.system.containerid) { // remove from container
await this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':"" }]); setTimeout(function() { this.updateEmbeddedDocuments( "Item", [{ _id: object.id, 'system.containerid':"" }])}, 800 )
} }
} }

View File

@ -4,10 +4,10 @@
"description": "Shadows over Sol for FoundryVTT", "description": "Shadows over Sol for FoundryVTT",
"url": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/", "url": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/",
"license": "LICENSE.txt", "license": "LICENSE.txt",
"version": "10.0.7", "version": "10.0.11",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "10.285", "verified": "10",
"maximum": "10" "maximum": "10"
}, },
"esmodules": [ "esmodules": [
@ -109,7 +109,7 @@
], ],
"socket": true, "socket": true,
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/raw/branch/v10/system.json", "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/raw/branch/v10/system.json",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/archive/foundryvtt-shadows-over-sol-10.0.7.zip", "download": "https://www.uberwald.me/gitea/public/foundryvtt-shadows-over-sol/archive/foundryvtt-shadows-over-sol-10.0.11.zip",
"gridDistance": 5, "gridDistance": 5,
"gridUnits": "ft" "gridUnits": "ft"
} }