Map Hover Display Broken as of v10.291
Map Hovering sadly is broken in v10 as far as I can see. The error the console logs is the following:
Error: You are accessing the JournalEntry#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:19)
at JournalEntry._logV10CompatibilityWarning (commons.js:6642:14)
at get data [as data] (commons.js:6542:24)
at MapNoteHoverDisplay.getData (map-note-hover-display.js:25:24)
at MapNoteHoverDisplay._render (foundry.js:5108:29)
at MapNoteHoverDisplay._render (foundry.js:68578:17)
at MapNoteHoverDisplay.render (foundry.js:5067:10)
at MapNoteHoverDisplay.bind (foundry.js:68553:10)
at Object.fn (map-note-hover-display.js:120:38)
at #call (foundry.js:724:20)
at Hooks.callAll (foundry.js:681:17)
at Note._onHoverIn (foundry.js:25515:11)
at Note._onHoverIn (foundry.js:43707:18)
at MouseInteractionManager.callback (foundry.js:27813:45)
at MouseInteractionManager._handleMouseOver (foundry.js:27930:17)
at a.emit (index.js:181:35)
at r.dispatchEvent (interaction.min.mjs:8:12235)
at r.processPointerMove (interaction.min.mjs:8:17255)
at t.recursiveFindHit (interaction.min.mjs:8:4098)
at t.recursiveFindHit (interaction.min.mjs:8:3882)
at t.recursiveFindHit (interaction.min.mjs:8:3882)
at t.recursiveFindHit (interaction.min.mjs:8:3882)
at t.recursiveFindHit (interaction.min.mjs:8:3882)
at t.recursiveFindHit (interaction.min.mjs:8:3882)
at t.recursiveFindHit (interaction.min.mjs:8:3882)
at t.findHit (interaction.min.mjs:8:4157)
at r.processInteractive (interaction.min.mjs:8:12841)
at r.onPointerMove (interaction.min.mjs:8:16687)
Seems like the change of journal entries underlying structure requires a refactor for it to work again. Hopefully it's not too big of a task