I'm in the process of making a plugin that adds realism to torches (absolutely riveting, I know). At the moment I am using a VERY ghetto bool flip to determine if right click was pressed while holding a torch. So is there a way to detect if a player used their current item in-hand, AKA a torch, or better yet, to check if their torch is lit?
Here's where I am at so far (working with ghetto switch)
https://i.gyazo.com/487784ccf810c5196d6c9a5fbf84b389.gif
Here's where I am at so far (working with ghetto switch)
https://i.gyazo.com/487784ccf810c5196d6c9a5fbf84b389.gif