vtt-lair / foundry-group-initiative

Module for Foundry VTT that allows you to roll grouped initiative.
MIT License
3 stars 4 forks source link

console error on end of combat libwrapper says Error= Cannot unregister 'Combat.prototype.rollAll' #52

Open modzy2 opened 1 year ago

modzy2 commented 1 year ago

When ending a combat, console has libwrapper throwing this error

group-initiative.js:483 Uncaught (in promise) LibWrapperPackageError: lib-wrapper. Error detected in module Group Initiative.

This is not a libWrapper bug.

Find information about this module here: https://github.com/vtt-lair/foundry-group-initiative

Ask the community for support:

== Technical Details: Detected by libWrapper. Package ID= group-initiative Error= Cannot unregister 'Combat.prototype.rollAll' by module group-initiative as no such wrapper has been registered

[Detected 2 packages: lib-wrapper, group-initiative] at fe (libWrapper-api.js:238:10) at 🎁unregister [as unregister] (libWrapper-api.js:631:16) at Object.fn (group-initiative.js:480:16) at #call (foundry.js:730:20) at Hooks.callAll (foundry.js:687:17) at ClientDatabaseBackend.callback (foundry.js:13769:13) at foundry.js:13744:43 at Array.map () at #handleDeleteDocuments (foundry.js:13744:33)

Foundry 11.302
dnd5e 2.2.1
libwrapper v1.12.12.1
group initiative v2.1.5