Djphoenix719 / FVTT-PF2ELootGen

A loot generator/utility for the PF2E system in Foundry VTT. May eventually become system agnostic.
Apache License 2.0
2 stars 6 forks source link

Loot not generated. "Error: This is not a registered game setting" #7

Open jocolamarco opened 2 years ago

jocolamarco commented 2 years ago

Describe the bug Loot not generated/ added to Sheet.

To Reproduce Steps to reproduce the behavior:

  1. Create Loot Actor
  2. Change to Merchant and Sheet to "PF2E Loot Generator"
  3. Go to "Permanent Items" tab
  4. Change filters to only 1st-level, x25
  5. Click 'Roll'
  6. Issue occurs

Expected behavior Loot generated and added to sheet. No error messages.

Screenshots image

image

Version Information:

Additional context

foundry.js:2143 Uncaught (in promise) Error: This is not a registered game setting
[Detected 1 package: pf2e-lootgen]
    at ClientSettings.get (foundry.js:2143)
    at maybeMystifyItems (modules/pf2e-lootgen/bundle.js:2293)
    at LootApp.createItemsFromDraw (modules/pf2e-lootgen/bundle.js:1495)
    at async HTMLButtonElement.<anonymous> (modules/pf2e-lootgen/bundle.js:1603)
jocolamarco commented 2 years ago

FYI: It seems that pf2e-toolbox is required even though it doesn't come up as a requirement in the module screen

Please see https://github.com/Djphoenix719/FVTT-PF2ELootGen/issues/2