I'm working on a mini-game and I am working on a custom name feature. I have it so that it makes the player open an anvil inventory and it automatically put a piece of paper to rename to what they want their new name to be, My issue is that I'm using InventoryClickEvent and when I click the output item in the inventory it clears it and resets it to how I had the anvil before they changed the name. I just want to be able to grab the name of the item or some way of getting what they are renaming it to. I'm using this[The code below] to see what the item is and it is returning null in chat. Code (Text): ItemStack clicked = clickedInv.getItem(2); p.sendMessage("" + clicked); Is there any sort of event that triggers upon using the anvil or something?