mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-01-03 14:23:43 +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
|
||||
{
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue