public override void Close() { base.Close(); if (ExceptionHandler.Unloading) { MyAPIGateway.Utilities.MessageEntered -= MessageHandler; Instance = null; } }
public RichHudCore() : base(false, true) { if (Instance == null) { Instance = this; } else { throw new Exception("Only one instance of RichHudCore can exist at any given time."); } handlerRegTimer = new Stopwatch(); }