p4535992 / conditional-visibility

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

Nullpointer trying to set effect without DfReds Convenient Effects #19

Closed lucasmiranda2711 closed 2 years ago

lucasmiranda2711 commented 2 years ago

https://github.com/p4535992/conditional-visibility/blob/b5cce040ff11e35cb7e68137bef35f65311578f6/src/module/api.ts#L795

When using another DfReds (Droppables, Pocket change) but not the Convenient Effects, the variable game.dfreds will exist but will be an empty object, thus resulting on nullpointer exception on line 801 while trying to find the effect.

p4535992 commented 2 years ago

Ty for this, i will fix on the next release

p4535992 commented 2 years ago

Should solved with 0.5.5