p4535992 / conditional-visibility

a FoundryVTT module to hide tokens from some players, but not from others
MIT License
5 stars 8 forks source link

[BUG] Some times when a condition is removed the token stays invisible #4

Closed Zamrod closed 2 years ago

Zamrod commented 2 years ago

Module Version: v0.3.1

Describe the bug When creating conditions using Combat Utility Belt for In Darkness or Invisible sometimes when the condition is removed the token doesn’t become visible again and it becomes stuck like that with no way to make it visible otherwise than disabling the module.

This also is sometimes accompanied by an error:

helpers.mjs:586 

       Uncaught TypeError: Cannot set property isVisible of #<Token> which has only a getter
[Detected 1 package: conditional-visibility]
    at setProperty (helpers.mjs:586)
    at ConditionalVisibility.js:128
p4535992 commented 2 years ago

patch the error on 0.3.2

p4535992 commented 2 years ago

This issue is closed, because the new series 0.4.X is just to different, checkout the last version of the module.