Remove anim check for kovac highlight - redundant after osrs update

This commit is contained in:
Patrick
2022-06-23 22:46:41 +04:00
parent 8a9c80ed81
commit 61b4b572a4

View File

@@ -17,7 +17,6 @@ import java.awt.*;
public class FoundryOverlay3D extends Overlay { public class FoundryOverlay3D extends Overlay {
private static final int HAND_IN_WIDGET = 49414221; private static final int HAND_IN_WIDGET = 49414221;
private static final int FINISH_ANIM = 9457;
GameObject tripHammer; GameObject tripHammer;
GameObject grindstone; GameObject grindstone;
@@ -213,8 +212,7 @@ public class FoundryOverlay3D extends Overlay {
private void drawKovacIfHandIn(Graphics2D graphics) private void drawKovacIfHandIn(Graphics2D graphics)
{ {
Widget handInWidget = client.getWidget(HAND_IN_WIDGET); Widget handInWidget = client.getWidget(HAND_IN_WIDGET);
if (handInWidget != null && !handInWidget.isHidden() if (handInWidget != null && !handInWidget.isHidden())
&& client.getLocalPlayer().getAnimation() != FINISH_ANIM)
{ {
Shape shape = kovac.getConvexHull(); Shape shape = kovac.getConvexHull();
if (shape != null) if (shape != null)