aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
index 6c4aa6787..890188f34 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenCropMilestoneInventory.kt
@@ -58,7 +58,7 @@ class GardenCropMilestoneInventory {
val crop = GardenCropMilestones.getCropTypeByLore(event.itemStack) ?: return
val tier = GardenCropMilestones.getTierForCropCount(crop.getCounter(), crop)
- if (tier > 20) return
+ if (tier >= 20) return
val maxTier = GardenCropMilestones.getMaxTier()
val maxCounter = GardenCropMilestones.getCropsForTier(maxTier, crop)