diff --git a/src/main/java/com/questhelper/managers/QuestManager.java b/src/main/java/com/questhelper/managers/QuestManager.java index b79b7d3b84..5b28ecc880 100644 --- a/src/main/java/com/questhelper/managers/QuestManager.java +++ b/src/main/java/com/questhelper/managers/QuestManager.java @@ -156,7 +156,7 @@ private void handleSelectedQuest() { if (selectedQuest.getCurrentStep() != null) { - panel.updateSteps(); + panel.updateStepsTexts(); QuestStep currentStep = selectedQuest.getCurrentStep().getSidePanelStep(); if (currentStep != null && currentStep != lastStep && panel.questActive) { @@ -165,7 +165,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 69733eea6a..8f03d014e0 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())