Merge pull request #981 from JourneyOver/statusorbs_energy_overlay_fix

Status Orb Plugin: Fix run energy overlay
This commit is contained in:
Ganom
2019-07-11 07:45:39 -04:00
committed by GitHub

View File

@@ -139,8 +139,6 @@ public class StatusOrbsOverlay extends Overlay
renderRegen(g, WidgetInfo.MINIMAP_SPEC_ORB, percentSpec, SPECIAL_COLOR); renderRegen(g, WidgetInfo.MINIMAP_SPEC_ORB, percentSpec, SPECIAL_COLOR);
} }
if (plugin.isReplaceOrbText())
{
final Widget runOrb = client.getWidget(WidgetInfo.MINIMAP_TOGGLE_RUN_ORB); final Widget runOrb = client.getWidget(WidgetInfo.MINIMAP_TOGGLE_RUN_ORB);
if (runOrb == null || runOrb.isHidden()) if (runOrb == null || runOrb.isHidden())
@@ -182,7 +180,6 @@ public class StatusOrbsOverlay extends Overlay
tooltipManager.add(new Tooltip(sb.toString())); tooltipManager.add(new Tooltip(sb.toString()));
} }
}
if (plugin.isShowRun()) if (plugin.isShowRun())
{ {