aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
index 20ee57028..3f1c31fc7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorFeatures.kt
@@ -137,6 +137,8 @@ class GardenVisitorFeatures {
var itemsWithSpeedCounter = 0
var endReached = false
for ((i, l) in list.toMutableList().withIndex()) {
+ if (l.length < 4) continue
+
val line = l.substring(4)
if (line == "") {
if (!endReached) {