StackOverflow Crash with McMMO Serrated Strikes Ability
McMMO - GitHub Link to Source - has a Serrated Strikes ability for Swords GitHub Link to Ability Code.
When using this ability to attack some of the Custom Mobs configured in MythicMobs & ModelEngine via Blockbench Blueprints (and potentially other methods?), the server instantly crashes with a StackOverflow error, after what appears to be an infinite loop of applying damage to the Custom Mob. One example of a mob which generates this sort of crash is the Rhino from this Nog's Menagerie pack from MCModels
Provided are links to the server logs from a local server that was stripped down to the barebones to isolate the issue, as well as the crash report that was generated.
Please let me know if you need any additional information from me to help resolve the issue!
Server Version: Paper 1.21.4 v222 Plugin Versions:
- mcMMO version 2.2.033
- ModelEngine version 4.0.8
- MythicMobs version 5.8.2-6a2683d7