From 20a0aeb8cc9e795adf54cafbf381ab5c9dfe2595 Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 20 Sep 2024 12:52:14 +0200 Subject: Fix: Visitor Supercraft use internal name (#2552) --- .../skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt index 6ecaa5491..f441d17ab 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt @@ -84,7 +84,7 @@ object GardenVisitorSupercraft { hasIngredients = true for ((key, value) in ingredientReqs) { val sackItem = key.asInternalName().getAmountInSacks() - lastSuperCraftMaterial = internalName.itemName.removeColor() + lastSuperCraftMaterial = internalName.asString() if (sackItem < value * amount) { hasIngredients = false break -- cgit