Update XpGlobesOverlay.java
This commit is contained in:
@@ -293,6 +293,8 @@ public class XpGlobesOverlay extends Overlay
|
|||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.enableTimeToLevel())
|
||||||
|
{
|
||||||
String timeLeft = xpTrackerService.getTimeTillGoal(mouseOverSkill.getSkill());
|
String timeLeft = xpTrackerService.getTimeTillGoal(mouseOverSkill.getSkill());
|
||||||
xpTooltip.getChildren().add(LineComponent.builder()
|
xpTooltip.getChildren().add(LineComponent.builder()
|
||||||
.left("Time left:")
|
.left("Time left:")
|
||||||
@@ -300,6 +302,7 @@ public class XpGlobesOverlay extends Overlay
|
|||||||
.right(timeLeft)
|
.right(timeLeft)
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
xpTooltip.render(graphics);
|
xpTooltip.render(graphics);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user