ironmonk88 / monks-tokenbar

GNU General Public License v3.0
47 stars 44 forks source link

[BUG] Bug with module "Rest Recovery for 5E" alternative exhaustion #513

Open ZeroXNoxus opened 1 month ago

ZeroXNoxus commented 1 month ago

Describe the bug Whenever I change the exhaustion from the Rest Recovery for 5E alternative exhaustion (One DnD Rule -> -1 to essentially everything), the Monk's Token Bar keeps refreshing indefinitely, causing a major lag and requiring a reload. I am displaying Passive Perception, Insight and Armor Class within the Token Bar. Once reloaded, the lagging stops.

To Reproduce Steps to reproduce the behavior:

  1. Enable module "Monk's Token Bar" and "Rest Recovery for 5E", then enable setting "Enable One DnD Exhaustion"
  2. Increase/Decrease exhaustion level of an Actor that is presented on the Token Bar
  3. Observe the massive lag in Foundry, making it very unresponsive.

Expected behavior A one-time refresh of the Token Bar, displaying the decreased amount of passive abilities.

Please complete as much of the following information as possible: