Skip to content

Commit

Permalink
v2.7.13
Browse files Browse the repository at this point in the history
- Fix bug introduced in v2.7.12 relating to v12 changes which would prevent certain imports from completing successfully.
  • Loading branch information
sneat authored Jun 25, 2024
1 parent 109d8ca commit d167fd2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v2.7.13
- Fix bug introduced in v2.7.12 relating to v12 changes which would prevent certain imports from completing successfully.

## v2.7.12
- Marked compatibility with Foundry VTT version 12.
- The only changes were relating to deprecated methods that are currently in compatibility mode.
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "scene-packer",
"title": "Library: Scene Packer",
"description": "A module to assist with Scene and Adventure packing and unpacking.",
"version": "2.7.12",
"version": "2.7.13",
"library": "true",
"manifestPlusVersion": "1.2.0",
"minimumCoreVersion": "0.8.6",
Expand Down
2 changes: 1 addition & 1 deletion scripts/scene-packer.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ export default class ScenePacker {
if (forceImport && !renameOriginals) {
return true;
}
let sourceId = entity._stats?.compendiumSource ?? e.getFlag(CONSTANTS.MODULE_NAME, 'sourceId');
let sourceId = e._stats?.compendiumSource ?? e.getFlag(CONSTANTS.MODULE_NAME, 'sourceId');
let coreSourceId = e._stats?.compendiumSource ?? e.getFlag('core', 'sourceId');
const hasExistingEntryWithID = collection.get(e.id);
if (hasExistingEntryWithID || sourceId || coreSourceId) {
Expand Down

0 comments on commit d167fd2

Please sign in to comment.