aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/garden
diff options
context:
space:
mode:
authorLuna <me@lunya.dev>2024-09-07 21:34:20 +0200
committerGitHub <noreply@github.com>2024-09-07 21:34:20 +0200
commitb0b2d42b999ebf8ebb41ad48a54f52ce1315d1dd (patch)
treeb7b1f448f383ae08982ebfddd7ccc38c08253a03 /src/main/java/at/hannibal2/skyhanni/features/garden
parent321188e2828284484718a78ecaf9e7a98905d658 (diff)
downloadskyhanni-b0b2d42b999ebf8ebb41ad48a54f52ce1315d1dd.tar.gz
skyhanni-b0b2d42b999ebf8ebb41ad48a54f52ce1315d1dd.tar.bz2
skyhanni-b0b2d42b999ebf8ebb41ad48a54f52ce1315d1dd.zip
Improvement: Make pest middle waypoint optional (#2469)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt
index e81486ecd..ff9af9cff 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt
@@ -94,6 +94,7 @@ object PestParticleLine {
}
private fun showMiddle(event: LorenzRenderWorldEvent) {
+ if (!config.showMiddle) return
if (locations.size <= 0) return
val plot = GardenPlotAPI.getCurrentPlot() ?: return
val middle = plot.middle.copy(y = LocationUtils.playerLocation().y)