Sponge get the name of clicked inventory

Got it working with the help of the following