Remove anim check for kovac highlight - redundant after osrs update
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user