ksx0330 / FVTT-Kamigakari-System

MIT License
9 stars 7 forks source link

Bug on Influence #29

Closed Jirgos closed 1 year ago

Jirgos commented 1 year ago

Hello, I have a bug that i thinks is due to upgrading foundry to latest about Influence. The dice roll doesn't appear like so : Missing Influence

here is what my console is warning when I try to Influence :

commons.js:1703 Error: You are accessing the ChatMessage#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:1692) at Function._logV10CompatibilityWarning (commons.js:6642) at ChatMessage.get data [as data] (commons.js:6542) at HTMLAnchorElement. (init.js:318) at HTMLElement.dispatch (jquery.min.js:2) at HTMLElement.y.handle (jquery.min.js:2) logCompatibilityWarning @ commons.js:1703 _logV10CompatibilityWarning @ commons.js:6642 get data @ commons.js:6542 (anonymous) @ init.js:318 dispatch @ jquery.min.js:2 y.handle @ jquery.min.js:2 commons.js:1703 Error: You are accessing the ChatMessage#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:1692) at Function._logV10CompatibilityWarning (commons.js:6642) at ChatMessage.get data [as data] (commons.js:6542) at HTMLAnchorElement. (init.js:329) at HTMLElement.dispatch (jquery.min.js:2) at HTMLElement.y.handle (jquery.min.js:2) logCompatibilityWarning @ commons.js:1703 _logV10CompatibilityWarning @ commons.js:6642 get data @ commons.js:6542 (anonymous) @ init.js:329 dispatch @ jquery.min.js:2 y.handle @ jquery.min.js:2

Could you try to fix that please ? Thanks you

ksx0330 commented 1 year ago

Fixed