Closed TheGiddyLimit closed 1 year ago
The fix seems valid, and this is probably a duplicate of #37. What worries me is that I can't replicate this issue. Is there anything special in your setup, and does this happen if you disable all modules except WIRE, socketlib and libwrapper?
whoops, I did indeed. My fault on both counts; you can most likely also close #37 as being the result of a bug from another module. The ultimate cause is actor.overrides
being unavailable. If you want to simulate the bug to see for yourself, something like this should do it:
libWrapper.register(
"wire",
"Actor.prototype.applyActiveEffects",
(fn, ...args) => {
fn(...args)
const [actor] = args
delete actor.overrides
},
"WRAPPER"
)
Is the module a publicly available one? Would be good to know in case someone else runs into this
Is the module a publicly available one? Would be good to know in case someone else runs into this
After a fashion: https://raw.githubusercontent.com/TheGiddyLimit/plutonium-next/master/module-foundry10.json
Understood. Thanks for the notice.
Crashes occur on documents which Foundry considers valid.
Reproduction steps:
Note that this does not fix the class of bugs; there may be similar issues which require similar fixes. These were the two standouts I found during basic use.