TTL on XP Globes fixes #762 (#766)

* TTL on XP Globes fixes #762

TTL on XP Globes fixes #762

* Update XpGlobesOverlay.java

Oops

* Update XpGlobesOverlay.java
This commit is contained in:
Kyleeld
2019-06-27 21:58:54 +01:00
committed by James
parent c85b2b1ebb
commit 6732ad8a73

View File

@@ -278,6 +278,12 @@ public class XpGlobesOverlay extends Overlay
String xpHrString = decimalFormat.format(xpHr);
tableComponent.addRow(ColorUtil.prependColorTag("XP per hour:", Color.ORANGE), xpHrString);
}
if (config.enableTimeToLevel())
{
String timeLeft = xpTrackerService.getTimeTillGoal(mouseOverSkill.getSkill());
tableComponent.addRow(ColorUtil.prependColorTag("TimeLeft:", Color.ORANGE), timeLeft);
}
}
xpTooltip.getChildren().add(tableComponent);