diff --git a/src/main/java/com/questhelper/managers/QuestManager.java b/src/main/java/com/questhelper/managers/QuestManager.java index b31a4aec3a..bb5cbc7ae3 100644 --- a/src/main/java/com/questhelper/managers/QuestManager.java +++ b/src/main/java/com/questhelper/managers/QuestManager.java @@ -138,7 +138,7 @@ private void handleSelectedQuest() { if (selectedQuest.getCurrentStep() != null) { - panel.updateSteps(); + panel.updateStepsTexts(); QuestStep currentStep = selectedQuest.getCurrentStep().getSidePanelStep(); if (currentStep != null && currentStep != lastStep && panel.questActive) { @@ -147,7 +147,7 @@ private void handleSelectedQuest() } if (panel.questActive) { - clientThread.invokeLater(() -> panel.updateItemRequirements(client)); + panel.updateItemRequirements(client); } panel.updateLocks(); } diff --git a/src/main/java/com/questhelper/panel/QuestHelperPanel.java b/src/main/java/com/questhelper/panel/QuestHelperPanel.java index 3daddb33ab..330ecd8df4 100644 --- a/src/main/java/com/questhelper/panel/QuestHelperPanel.java +++ b/src/main/java/com/questhelper/panel/QuestHelperPanel.java @@ -583,9 +583,9 @@ public void addQuest(QuestHelper quest, boolean isActive) revalidate(); } - public void updateSteps() + public void updateStepsTexts() { - questOverviewPanel.updateSteps(); + questOverviewPanel.updateStepsTexts(); } public void updateHighlight(Client client, QuestStep newStep) diff --git a/src/main/java/com/questhelper/panel/QuestOverviewPanel.java b/src/main/java/com/questhelper/panel/QuestOverviewPanel.java index f88ff74000..a23a771c2c 100644 --- a/src/main/java/com/questhelper/panel/QuestOverviewPanel.java +++ b/src/main/java/com/questhelper/panel/QuestOverviewPanel.java @@ -47,7 +47,6 @@ import com.questhelper.util.Fonts; import lombok.Getter; import net.runelite.api.Client; -import net.runelite.api.Item; import net.runelite.api.Skill; import net.runelite.client.ui.ColorScheme; import static net.runelite.client.ui.PluginPanel.PANEL_WIDTH; @@ -316,7 +315,7 @@ public void mouseClicked(MouseEvent e) } } - public void updateSteps() + public void updateStepsTexts() { questStepPanelList.forEach(panel -> { for (QuestStep step : panel.getSteps())