Note spells could lag my game when cast at high frequency. This was because they render random png sprites from their particle emitter.
Now they don't kill my FPS, because I removed the laggy sprite emitter.
TLDR: dull note graphics → no lag for spamming notes.
https://drive.google.com/file/d/1jYg1f1koqB9HcDsFHptnZf1WmbBUAwVB/view?usp=sharing
EDIT: 💡 NOW UPDATED FOR FULL COMPATIBILITY WITH OTHER MODS
thanks @flint harness for the explanations and sample code
Google Docs