Before open any issue
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'name')
at LootingHelpers.handlePreRollLootAction (looting-helpers.js:74:87)
at Object.fn (module.js:4009:20)
at #call (foundry.js:608:20)
at Hooks.callAll (foundry.js:565:17)
at Item5e.use (item.mjs:1009:11)
at async Item5e.doItemUse (itemhandling.js:621:16)
Describe the bug
Looting doesn't work anymore. Error with converting '3d6sp' to addCurrency
updating to V12 and having the other mods have recent updates obviously called out some compatibility issues.
To Reproduce
Steps to reproduce the behavior:
spawn player character
spawn deer
bring deer to 0 hp and put on the dead status
target deer
loot deer
See error
Expected behavior
deer is looted and gold is added to player character.
Screenshots
none
Browser:
Google Chrome
Foundry Version:
12 Build 327
Game System:
DND5E
Additional context
I really love your mod and I wish I knew how to fix the problems myself. I'll put in a commit if I can figure anything out for a PR.
I know that V11 and V12 are probably incompatible in general as well and Better Roll Tables hasn't been updated in awhile either which probably doesn't help things.
Module Version: v1.8.6
Before open any issue Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'name') at LootingHelpers.handlePreRollLootAction (looting-helpers.js:74:87) at Object.fn (module.js:4009:20) at #call (foundry.js:608:20) at Hooks.callAll (foundry.js:565:17) at Item5e.use (item.mjs:1009:11) at async Item5e.doItemUse (itemhandling.js:621:16)
Describe the bug Looting doesn't work anymore. Error with converting '3d6sp' to addCurrency
updating to V12 and having the other mods have recent updates obviously called out some compatibility issues.
To Reproduce Steps to reproduce the behavior:
Expected behavior deer is looted and gold is added to player character.
Screenshots none
Browser: Google Chrome
Foundry Version: 12 Build 327
Game System: DND5E
Additional context I really love your mod and I wish I knew how to fix the problems myself. I'll put in a commit if I can figure anything out for a PR.
I know that V11 and V12 are probably incompatible in general as well and Better Roll Tables hasn't been updated in awhile either which probably doesn't help things.