public void Initialize()
 {
     if (!Smapi.GetModRegistry().IsLoaded(CjbItemSpawnerID))
     {
         return;
     }
     MenuEvents.MenuChanged += OnMenuChanged;
 }
 private EntoaroxFrameworkСompatibilityLayout()
 {
     UseCompatibility = Smapi.GetModRegistry().IsLoaded(EntoaroxFrameworkID);
     if (UseCompatibility)
     {
         Log.Trace("Found Entoarox Framework. Used compatibility mode.");
     }
     GameEvents.LoadContent += GameEventsOnLoadContent;
 }