Skip to content

Commit

Permalink
Fixed constants erroring
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Jul 1, 2024
1 parent 696707b commit 9a38d3f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Item Piles Changelog

## Version 3.0.3

- Minor fix to latest release

## Version 3.0.2

- Fixed opening item pile interfaces would spawn duplicate windows instead of focusing existing interfaces
Expand Down
2 changes: 0 additions & 2 deletions src/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,4 @@ CONSTANTS.HOOKS = {
}
}

Object.freeze(CONSTANTS);

export default CONSTANTS;
1 change: 1 addition & 0 deletions src/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Hooks.once("init", async () => {
API: API
};
CONSTANTS.IS_V12 = game.release.generation >= 12;
Object.freeze(CONSTANTS);

});

Expand Down

0 comments on commit 9a38d3f

Please sign in to comment.