From 74af9cc72578129294bbc5071621da7b9dd4cdf6 Mon Sep 17 00:00:00 2001 From: Obsidian <108832807+Obsidianninja11@users.noreply.github.com> Date: Sat, 23 Mar 2024 15:57:58 -0800 Subject: Improvement: Allow teleporting when in an infested plot (#1140) --- src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt index 2833cc4ed..9b1a73a05 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt @@ -143,7 +143,7 @@ class PestFinder { return } - if (plot.isPlayerInside()) { + if (plot.isPlayerInside() && !config.alwaysTp) { ChatUtils.userError("You're already in an infested plot!") return } -- cgit