From b0b2d42b999ebf8ebb41ad48a54f52ce1315d1dd Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 7 Sep 2024 21:34:20 +0200 Subject: Improvement: Make pest middle waypoint optional (#2469) --- .../java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden') 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) -- cgit