Hey, sorry it has been so long since it has been updated.
I took a break from developing mods because I was burnt out and life really screwed me over. Anyway, I fixed it XD
Changelog
Rewrote the interact function to align with the changes that occurred between 1.21.1 and 1.21.2.
This fix has been tested and works without any other changes on each game version listed.
Changed the button activation from the end of a client tick to the start to improve reliability.