From 4d49475c915b98a00941385a081a6a2c62d1d9ac Mon Sep 17 00:00:00 2001 From: FALSkills Date: Sat, 12 Oct 2024 12:38:17 -0500 Subject: [PATCH] Fix quetzals --- src/main/java/dax/walker_engine/navigation_utils/Quetzal.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/dax/walker_engine/navigation_utils/Quetzal.java b/src/main/java/dax/walker_engine/navigation_utils/Quetzal.java index 1f37862..1122055 100644 --- a/src/main/java/dax/walker_engine/navigation_utils/Quetzal.java +++ b/src/main/java/dax/walker_engine/navigation_utils/Quetzal.java @@ -11,7 +11,7 @@ public class Quetzal { - public static final int QUETZAL_WIDGET_ROOT = 8741; + public static final int QUETZAL_WIDGET_ROOT = 874; public enum Location { ALDARIN("Aldarin", 1390, 2901, 0), @@ -58,7 +58,7 @@ public int getZ() { public static boolean to(Location location){ if (!Interfaces.isInterfaceSubstantiated(QUETZAL_WIDGET_ROOT) - && !InteractionHelper.click(InteractionHelper.getRSObject(Filters.Objects.nameEquals("Renu")), "Travel", () -> Interfaces.isInterfaceSubstantiated(QUETZAL_WIDGET_ROOT) ? WaitFor.Return.SUCCESS : WaitFor.Return.IGNORE)) { + && !InteractionHelper.click(InteractionHelper.getRSNPC(Filters.NPCs.nameEquals("Renu")), "Travel", () -> Interfaces.isInterfaceSubstantiated(QUETZAL_WIDGET_ROOT) ? WaitFor.Return.SUCCESS : WaitFor.Return.IGNORE)) { return false; }