Exemple #1
0
        internal void Awake()
        {
            Instance = this;

            var harmony = new Harmony(GUID);

            harmony.PatchAll();

            HUDConfig.Init(Config);

            SL.OnPacksLoaded += Setup;

            Logger.LogMessage($"{NAME} started, version {VERSION}");
        }
Exemple #2
0
        internal void Awake()
        {
            Instance = this;

            try
            {
                var harmony = new Harmony(GUID);
                harmony.PatchAll();

                HUDConfig.Init(Config);

                SL.OnPacksLoaded += Setup;

                Logger.LogMessage($"{NAME} started, version {VERSION}");
            }
            catch (Exception e)
            {
                Logger.LogMessage("Exception setting up CombatHUD: " + e);
            }
        }