private void _CheckForConsistency() { IRegistryQuerier registry = RegistryManager.Instance(CurrentInstance).registry; try { registry.CheckSanity(); } catch (InconsistentKraken e) { m_User.displayError( "Installed mods has unmet dependencies. \"Apply changes\" button will be unavailable until you fix inconsistencies:\n{0}", new object[] { e.InconsistenciesPretty } ); } }