public override void ModifyTooltips(Item item, List <TooltipLine> tooltips)
        {
            if (!Main.LocalPlayer.GetModPlayer <ModItemTooltipsPlayer>(mod).enabledTitleTT || item.modItem == null)
            {
                return;
            }

            var layer =
                tooltips
                .FirstOrDefault(x =>
                                x.mod == "Terraria" &&
                                x.Name == "ItemName");

            string addedText = $" [{item.modItem.mod.DisplayName}]";

            if (layer != null &&
                !layer.text.EndsWith(addedText.Trim()))
            {
                layer.text += addedText;
            }

            var info = ModItemTooltipInfo.GetInfo(item, mod);

            if (info.crafter != null)
            {
                tooltips.Insert(tooltips.IndexOf(layer), new TooltipLine(mod, "CrafterTooltip", $"Crafted by: {info.crafter}"));
            }
        }
        public override ItemInfo Clone()
        {
            var clone = new ModItemTooltipInfo {
                crafter = crafter
            };

            return(clone);
        }
        public override void NetReceive(Item item, BinaryReader reader)
        {
            var info = ModItemTooltipInfo.GetInfo(item, mod);

            info.crafter = reader.ReadString();
        }
        public override void NetSend(Item item, BinaryWriter writer)
        {
            var info = ModItemTooltipInfo.GetInfo(item, mod);

            writer.Write(info.crafter);
        }