public override void Initialize()
        {
            if (!Main.dedServ && Main.LocalPlayer.name != "")
            {
                try
                {
                    (mod as CheatSheet).hotbar.bCycleExtraAccessorySlots.Tooltip = "Extra Accessory Slots: " + Main.LocalPlayer.GetModPlayer <CheatSheetPlayer>(mod).numberExtraAccessoriesEnabled;
                }
                catch (Exception e)
                {
                    CheatSheetUtilities.ReportException(e);
                }
            }

            //    ((CheatSheet)mod).hotbar.ChangedBossDowner();
        }
Beispiel #2
0
        public override void Initialize()
        {
            if (!Main.dedServ && Main.LocalPlayer.name != "")
            {
                try
                {
                    CheatSheet.instance.hotbar.bCycleExtraAccessorySlots.Tooltip = CSText("ExtraAccessorySlots") + " " + Main.LocalPlayer.GetModPlayer <CheatSheetPlayer>().numberExtraAccessoriesEnabled;
                    // CheatSheet.instance.paintToolsHotbar.UndoHistory.Clear();
                    // CheatSheet.instance.paintToolsHotbar.UpdateUndoTooltip();
                }
                catch (Exception e)
                {
                    CheatSheetUtilities.ReportException(e);
                }
            }

            //    CheatSheet.instance.hotbar.ChangedBossDowner();
        }