public static void EnableMod(IMod mod) { prefs.Disabled.Remove(mod); mod.OnEnable(); prefs.Save(ModConstants.MODLOADER_PREFS_PATH); }