Skip to content

Commit

Permalink
remove hull highlight style
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueSoapTurtle committed Oct 30, 2024
1 parent 43a9edc commit 3c6cb9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public enum HighlightReason {

public enum HighlightStyle {
OUTLINE,
CLICK_BOX,
HULL,
CLICK_BOX
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package work.fking.masteringmixology;

import net.runelite.api.DecorativeObject;
import net.runelite.api.GameObject;
import net.runelite.api.TileObject;
import net.runelite.client.ui.overlay.Overlay;
import net.runelite.client.ui.overlay.OverlayLayer;
Expand Down Expand Up @@ -47,13 +45,6 @@ public Dimension render(Graphics2D graphics) {
case CLICK_BOX:
drawShape(graphics, object.getClickbox(), color);
break;
case HULL:
if (object instanceof GameObject) {
drawShape(graphics, ((GameObject) object).getConvexHull(), color);
} else if (object instanceof DecorativeObject) {
drawShape(graphics, ((DecorativeObject) object).getConvexHull(), color);
}
break;
}
}
return null;
Expand Down

0 comments on commit 3c6cb9b

Please sign in to comment.