Im making a custom swordItem that gives the player the wither effect when you right click the sword and when you click it again the effect goes away. My problem is when I try and get rid of the effect it visually goes away but im still taking damage and after a few seconds the visual effect comes back. http://prntscr.com/p8poj9
http://prntscr.com/p8f5up
I'm trying to get my weapon on right click to shoot a fireball but I cant seem to figure out why enumactionresult isn't working.
Rework Mod (reworkmod) encountered an error during the load_registries event phase
http://prntscr.com/p3a4s8
http://prntscr.com/p3a55t
http://prntscr.com/p3a58n
I watched a harry talks tutorial and my code is the exact same but I get this error.