DFreds / dfreds-droppables

A FoundryVTT module that adds support for dropping folders onto the canvas.
MIT License
8 stars 5 forks source link

Potential negative interaction between this module and the pf2e system #23

Open baronfel opened 3 months ago

baronfel commented 3 months ago

Describe the Bug

Hello! The pf2e system uses droppable effects for a lot of system automation, but when those effects are dropped on user tokens this module displays a warning message that the player/user doesn't have permissions to upload files. Here's an example from my campaign:

image

From debugging, it seems like the warning is being triggered from the DroppableTokensOnCanvas class (decompiled debugger source shown):

image

Here the user is not a GM and cannot upload, so the warning is logged.

Context

To Reproduce

Steps to reproduce the behavior:

For any non-GM player, cast a spell or use an ability with an effect (e.g. a Bard's Courageous Anthem) and drag that effect to a token

Expected Behavior

The effect should apply to the token and no warnings should be visible to the user.

DFreds commented 1 week ago

Tracking now, sorry for the delay here!