Better error message when not stupid.

This commit is contained in:
Ottermandias 2024-05-30 14:11:34 +02:00
parent 794cea72cc
commit 448090e8f5

View file

@ -317,9 +317,16 @@ public unsafe class PenumbraService : IDisposable
}
catch
{
CurrentMajor = 0;
CurrentMinor = 0;
throw;
try
{
(CurrentMajor, CurrentMinor) = new global::Penumbra.Api.IpcSubscribers.Legacy.ApiVersions(_pluginInterface).Invoke();
}
catch
{
CurrentMajor = 0;
CurrentMinor = 0;
throw;
}
}
if (CurrentMajor != RequiredPenumbraBreakingVersion || CurrentMinor < RequiredPenumbraFeatureVersion)