internal void Awake() { Instance = this; var harmony = new Harmony(GUID); harmony.PatchAll(); HUDConfig.Init(Config); SL.OnPacksLoaded += Setup; Logger.LogMessage($"{NAME} started, version {VERSION}"); }
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); } }