internal static void AddLoaderLogNotice(ModInfo mod, string reason) => Mod(mod).AddNotice(TraceEventType.Warning, reason);
private static ModEntry Mod(ModInfo mod) => (mod as GridModItem)?.Mod;