mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Ignore RecipeData updates when not logged in
Just to be safe...
This commit is contained in:
parent
c4dd75bdda
commit
3746c47a84
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ internal unsafe class RecipeData : IInternalDisposableService
|
||||||
{
|
{
|
||||||
// based on Client::Game::UI::RecipeNote.InitializeStructs
|
// based on Client::Game::UI::RecipeNote.InitializeStructs
|
||||||
|
|
||||||
if (!this.NeedsUpdate())
|
if (!this.clientState.IsLoggedIn || !this.NeedsUpdate())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Array.Clear(this.unlockedNoteBookDivisionsCount, 0, this.unlockedNoteBookDivisionsCount.Length);
|
Array.Clear(this.unlockedNoteBookDivisionsCount, 0, this.unlockedNoteBookDivisionsCount.Length);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue