void Awake() { hb = GameObject.FindGameObjectWithTag("UIManager").GetComponent <HotbarUI>(); }
//public override void ModifyTooltips(List<TooltipLine> tooltips) => tooltips.Add(new TooltipLine(mod, "BowMode", Language.GetTextValue(GetMode(Main.LocalPlayer)))); public override void HoldItem(Player player) { player.ModPlayer().charredProj = true; HotbarUI.instances[HotbarUI.GetIndex("CinderCedarBow:ToggleModes")].active = true; }