Status Orb Plugin: Fix run energy overlay
Owain broke the overlay on the run energy orb by adding an extra if to the logic where it wasn't really needed so that it only ended up showing the overlay when the `run time left` option was enabled. This fixes it back to how it was originally where it always shows the overlay whenever you mouse over the run energy orb.
This commit is contained in:
@@ -139,8 +139,6 @@ public class StatusOrbsOverlay extends Overlay
|
||||
renderRegen(g, WidgetInfo.MINIMAP_SPEC_ORB, percentSpec, SPECIAL_COLOR);
|
||||
}
|
||||
|
||||
if (plugin.isReplaceOrbText())
|
||||
{
|
||||
final Widget runOrb = client.getWidget(WidgetInfo.MINIMAP_TOGGLE_RUN_ORB);
|
||||
|
||||
if (runOrb == null || runOrb.isHidden())
|
||||
@@ -182,7 +180,6 @@ public class StatusOrbsOverlay extends Overlay
|
||||
|
||||
tooltipManager.add(new Tooltip(sb.toString()));
|
||||
}
|
||||
}
|
||||
|
||||
if (plugin.isShowRun())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user