ironmonk88 / monks-combat-details

GNU General Public License v3.0
11 stars 7 forks source link

[BUG] Warning involving lib-wrapper #47

Closed themrbeasley closed 11 months ago

themrbeasley commented 1 year ago

Describe the bug A warning appears upon loading the game in Foundry as the GM. The warning directs to the console.

To Reproduce Steps to reproduce the behavior:

  1. Open any world with this module enabled.
  2. See warning notification.
  3. Press F12
  4. See error

Expected behavior Unknown. Discovered in the console:

foundry.js:68095 Monk's Combat Details: Error detected in module. (See JS Console)
fetch @ foundry.js:68095
monks-combat-details.js:227 Uncaught (in promise) LibWrapperPackageError: lib-wrapper. Error detected in module Monk's Combat Details.

This is *not* a libWrapper bug.

Find information about this module here: https://github.com/ironmonk88/monks-combat-details
Report this issue here: https://github.com/ironmonk88/monks-combat-details/issues

== Technical Details:
Detected by libWrapper.
Package ID= monks-combat-details
Error= Can't wrap 'Draggable.prototype._onDragMouseUp', target does not exist or could not be found.

[Detected 2 packages: lib-wrapper, monks-combat-details]
    at new 🎁constructor (libWrapper-wrapper.js:111:11)
    at libWrapper-api.js:82:18
    at de (libWrapper-api.js:155:9)
    at 🎁register [as register] (libWrapper-api.js:525:14)
    at patchFunc (monks-combat-details.js:40:20)
    at Object.ready [as fn] (monks-combat-details.js:211:9)
    at #call (foundry.js:730:20)
    at Hooks.callAll (foundry.js:687:17)
    at Game.setupGame (foundry.js:8666:11)
    at async Game._initializeGameView (foundry.js:9908:5)
    at async Game.initialize (foundry.js:8570:5)

Screenshots If applicable, add screenshots to help explain your problem.

Please complete as much of the following information as possible:

Additional context No apparent issues

ironmonk88 commented 11 months ago

Fixed in the latest release.