TriggerStats not functioning
Summary
Upon adding a TriggerStat to a custom stat, the plugin breaks.
Steps to reproduce
If you add TriggerStats to a stat, syntax copied from the wiki, it breaks the game. This config works without adding TriggerStats.
Current behavior
The stat doesnt work and throws massive errors upon taking entity damage.
Intended correct behavior
It should function how the wiki displays it, where the formula can be used in the damageformula
Server log file
Debug log snippet
Proposed fixes
Make it function like it says it does on the Wiki, oh and can you add a chance feature to a stat so i can make a proc-ing damage stat?