mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-22 07:27:44 +01:00
Better error message when not stupid.
This commit is contained in:
parent
794cea72cc
commit
448090e8f5
1 changed files with 10 additions and 3 deletions
|
|
@ -317,9 +317,16 @@ public unsafe class PenumbraService : IDisposable
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
CurrentMajor = 0;
|
try
|
||||||
CurrentMinor = 0;
|
{
|
||||||
throw;
|
(CurrentMajor, CurrentMinor) = new global::Penumbra.Api.IpcSubscribers.Legacy.ApiVersions(_pluginInterface).Invoke();
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
CurrentMajor = 0;
|
||||||
|
CurrentMinor = 0;
|
||||||
|
throw;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CurrentMajor != RequiredPenumbraBreakingVersion || CurrentMinor < RequiredPenumbraFeatureVersion)
|
if (CurrentMajor != RequiredPenumbraBreakingVersion || CurrentMinor < RequiredPenumbraFeatureVersion)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue