aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorLuna <me@lunya.dev>2024-09-20 12:52:14 +0200
committerGitHub <noreply@github.com>2024-09-20 20:52:14 +1000
commit20a0aeb8cc9e795adf54cafbf381ab5c9dfe2595 (patch)
treea651620b0a58f15ae628f238199ae4bbdc7e4378 /src/main/java/at/hannibal2/skyhanni/features
parent94c2cac32296cc3c003bab78ea425e20539d218a (diff)
downloadskyhanni-20a0aeb8cc9e795adf54cafbf381ab5c9dfe2595.tar.gz
skyhanni-20a0aeb8cc9e795adf54cafbf381ab5c9dfe2595.tar.bz2
skyhanni-20a0aeb8cc9e795adf54cafbf381ab5c9dfe2595.zip
Fix: Visitor Supercraft use internal name (#2552)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorSupercraft.kt2
1 files changed, 1 insertions, 1 deletions
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