Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Jul 23, 2023
1 parent 3140810 commit 00857cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "This module extends the Item Piles module to add support for a banker NPC that can create and open multiple vaults.",
"version": "100.0.0",
"library": "false",
"minimumCoreVersion": "10",
"minimumCoreVersion": "11",
"compatibility": {
"minimum": "10",
"verified": "10",
"maximum": "10"
"verified": "11",
"maximum": "11"
},
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const CONSTANTS = {
FLAG: flag,

GET_VAULT_DEFAULTS: (bankerActor) => {
const defaults = foundry.utils.duplicate(this.VAULT_DEFAULTS);
const defaults = foundry.utils.duplicate(CONSTANTS.VAULT_DEFAULTS);
defaults.vaultAccess[0].uuid = game.user.uuid;
const flags = bankerActor.getFlag("item-piles", "data");
defaults.cols = Math.max(1, flags?.bankerColumns ?? 12);
Expand Down

0 comments on commit 00857cb

Please sign in to comment.