Skip to content

Commit

Permalink
fix: update item requirements asap in the "quest handler"
Browse files Browse the repository at this point in the history
We are already in the quest thread when here, there is no need to dispatch it to the client thread to run later
  • Loading branch information
pajlada committed Nov 24, 2024
1 parent 14dcfde commit 5769eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/questhelper/managers/QuestManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private void handleSelectedQuest()
}
if (panel.questActive)
{
clientThread.invokeLater(() -> panel.updateItemRequirements(client));
panel.updateItemRequirements(client);
}
panel.updateLocks();
}
Expand Down

0 comments on commit 5769eb0

Please sign in to comment.