From 2f388c6d590d6781cbc9e13b01ec56a94efd620f Mon Sep 17 00:00:00 2001 From: Hydrox6 Date: Fri, 2 Jul 2021 12:42:32 +0100 Subject: [PATCH] xp tracker: fix intermediate markers not showing for xp based goal ends --- .../java/net/runelite/client/plugins/xptracker/XpInfoBox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpInfoBox.java b/runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpInfoBox.java index af9c35fa53..ea65fd3468 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpInfoBox.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpInfoBox.java @@ -278,7 +278,7 @@ class XpInfoBox extends JPanel { final List positions = new ArrayList<>(); - for (int level = xpSnapshotSingle.getStartLevel() + 1; level < xpSnapshotSingle.getEndLevel(); level++) + for (int level = xpSnapshotSingle.getStartLevel() + 1; level <= xpSnapshotSingle.getEndLevel(); level++) { double relativeStartExperience = Experience.getXpForLevel(level) - xpSnapshotSingle.getStartGoalXp(); double relativeEndExperience = xpSnapshotSingle.getEndGoalXp() - xpSnapshotSingle.getStartGoalXp();