tidy5e-sheet
tidy5e-sheet copied to clipboard
V10: [Bug] Linked or Unlinked Actor not working correctly
Hi there, love this module, fantastic work!
Like with so many other modules, v10 seems to have introduced a bug by changing some of the underlying code. Linking or un-linking an actor and the corresponding status check don't work anymore with the tidy sheet active. Not game-breaking, but a little annoying.
Steps to reproduce:
-
Drag Actor to scene
-
Apply dnd5e.Tidy5eSheet
-
Activate link check in the module settings
-
Test if linking and un-linking works.
- It doesn't work
Possible Workaround: Switch back to the default sheet and proceed with any linking / un-linking, then switch back to the tidy sheet once done.
Thank you !
commons.js:1696 Error: You are accessing the TokenDocument5e#data object which is no longer used.
Since V10 the Document class and its contained DataModel are merged into a combined data structure.
You should now reference keys which were previously contained within the data object directly.
at logCompatibilityWarning (commons.js:1685:19)
at TokenDocument5e._logV10CompatibilityWarning (commons.js:6612:14)
at get data [as data] (commons.js:6512:24)
at ammo-switch.js:9:24
at Array.find (<anonymous>)
at HTMLSpanElement.<anonymous> (ammo-switch.js:9:10)
at Function.each (jquery.min.js:2:3003)
at S.fn.init.each (jquery.min.js:2:1481)
at tidy5eAmmoSwitch (ammo-switch.js:2:22)
at Tidy5eSheet.activateListeners (tidy5e-sheet.js:86:5)
at Tidy5eSheet._render (foundry.js:5097:10)
at async Tidy5eSheet._render (foundry.js:5780:5)
PS: I really would like to donate a nice coffee to you. Do you accept donations?