From 56739f84bf8cdbfe57a18577c1ca0a63e0834176 Mon Sep 17 00:00:00 2001 From: alexia Date: Tue, 23 Jan 2024 20:51:06 +0100 Subject: Allow putting Water Bottles into Potion Bag (#949) Allow putting Water Bottles into Potion Bag. #949 --- .../at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni') diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt index 37ca20f33..ac9c402e7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -301,7 +301,7 @@ class HideNotClickableItems { } reverseColor = true - if (stack.cleanName().endsWith(" Potion")) return false + if (stack.cleanName().endsWith(" Potion") || stack.cleanName() == "Water Bottle") return false hideReason = "This item is not a potion!" return true -- cgit