ironmonk88 / monks-enhanced-journal

GNU General Public License v3.0
51 stars 51 forks source link

[BUG] Unable to see items added to the shops #624

Closed nursenick closed 8 months ago

nursenick commented 11 months ago

Describe the bug when adding gear to a shop it askes how many do you want to add then adds it but its not showing up on the list

Please complete as much of the following information as possible:

Additional context Add any other context about the problem here.

Q-efx commented 10 months ago

Same on loot sheet. Error message from console:

`


item.js:18
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'pack') at new ItemSFRPG (item.js:18:21) at LootSheet.getDocument (EnhancedJournalSheet.js:1364:24) at LootSheet.getDocument (EnhancedJournalSheet.js:1397:33) at LootSheet.addItem (LootSheet.js:501:31) at LootSheet._onDrop (LootSheet.js:318:30) at async EnhancedJournal._onDrop (enhanced-journal.js:1258:22)
  | ItemSFRPG | @ | item.js:18 -- | -- | -- | --   | getDocument | @ | EnhancedJournalSheet.js:1364   | getDocument | @ | EnhancedJournalSheet.js:1397   | addItem | @ | LootSheet.js:501   | _onDrop | @ | LootSheet.js:318   | await in _onDrop (async) |   |     | _onDrop | @ | LootSheet.js:318   | await in _onDrop (async) |   |     | _onDrop | @ | enhanced-journal.js:1255   | callback | @ | foundry.js:65529   | _handleDrop | @ | foundry.js:65580

`

ironmonk88 commented 9 months ago

Looks like it's an issue with Starfinder not defaulting a value. I'll see what I can do to compensate for it in MEJ.

ironmonk88 commented 8 months ago

Fixed in the latest release.