Closed KayelGee closed 2 years ago
Ahh ok i see, it's strange that the createActor hook is called for a user that didn't create the actor. I'll need to do some testing on my local machine. Thanks for raising this :)
I think most hooks are called on every client except pre hooks
This probably happens because you are not checking in your hook if the user is the same user that dropped the actor on the canvas.
Yep, you're exactly right, can you try again using this test version? I'm not getting errors any more: https://raw.githubusercontent.com/earlSt1/vtt-compendium-folders/082-update/test/module.json
This probably happens because you are not checking in your hook if the user is the same user that dropped the actor on the canvas.
Yep, you're exactly right, can you try again using this test version? I'm not getting errors any more: https://raw.githubusercontent.com/earlSt1/vtt-compendium-folders/082-update/test/module.json
Error is gone with the test version
Fixed in v2.3.3
I'm using baileywikis "Baileywiki Maps Town Prefabs" as an example: Inside the compendium there is a folder structure like this "Baileywiki Maps Town Prefabs/Class 2 Buildings TOWN/Town C2 Fletcher". "Town C2 Fletcher" being the name of the actor here. When I drop this "Town C2 Fletcher" onto a scene the actor will be created in the actor directory in the same folder structure.
When a player(read non GM) is connected at the same time there will be an exception thrown in the players console:
This probably happens because you are not checking in your hook if the user is the same user that dropped the actor on the canvas. Multiple GMs might also cause problems, but I have not tested that.