From 0eb007bbe0b4e9a0fcbc0a20abf6da556ab353e5 Mon Sep 17 00:00:00 2001 From: BegTribot <91619045+BegTribot@users.noreply.github.com> Date: Mon, 20 Nov 2023 09:16:38 +0000 Subject: [PATCH] Add Drezel warning check to teleports --- src/main/java/dax/teleports/Teleport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/dax/teleports/Teleport.java b/src/main/java/dax/teleports/Teleport.java index 5f437e6..d2dbbdb 100644 --- a/src/main/java/dax/teleports/Teleport.java +++ b/src/main/java/dax/teleports/Teleport.java @@ -560,13 +560,13 @@ public enum Teleport { FENKENSTRAINS_CASTLE_TAB( 35, new RSTile(3547, 3528, 0), - () -> Inventory.getCount("Fenkenstrain's castle teleport") > 0, + () -> Game.getSetting(302) >= 61 && Inventory.getCount("Fenkenstrain's castle teleport") > 0, () -> RSItemHelper.click("Fenkenstrain's castle t.*", "Break") ), BARROWS_TAB( 35, new RSTile(3565, 3314, 0), - () -> Inventory.getCount("Barrows teleport") > 0, + () -> Game.getSetting(302) >= 61 && Inventory.getCount("Barrows teleport") > 0, () -> RSItemHelper.click("Barrows t.*", "Break") ),