Ignore RecipeData updates when not logged in

Just to be safe...
This commit is contained in:
Haselnussbomber 2025-10-02 19:39:49 +02:00
parent c4dd75bdda
commit 3746c47a84
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1

View file

@ -125,7 +125,7 @@ internal unsafe class RecipeData : IInternalDisposableService
{
// based on Client::Game::UI::RecipeNote.InitializeStructs
if (!this.NeedsUpdate())
if (!this.clientState.IsLoggedIn || !this.NeedsUpdate())
return;
Array.Clear(this.unlockedNoteBookDivisionsCount, 0, this.unlockedNoteBookDivisionsCount.Length);