@EventHandler
    public void itemClick( InventoryClickEvent e ){
        if( e.getCurrentItem() != null ){
            if (String.valueOf(e.getCurrentItem().getItemMeta().getLore()).contains("Smeltery I")) {
                if( e.getInventory().getType() == InventoryType.ANVIL ){
                    e.setCancelled(true);
                }
            }
        }
    }