diff options
| author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-04-27 11:42:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-27 11:42:45 +0200 |
| commit | 772d5ae117e27663f8089844596119ae4d0ba543 (patch) | |
| tree | a7e131095520c2bacaeaf98549435070e885048d /src/main/java/at/hannibal2/skyhanni/utils | |
| parent | fbd57ff44b308e649a83593ed8b686c56cdcba4d (diff) | |
| download | skyhanni-772d5ae117e27663f8089844596119ae4d0ba543.tar.gz skyhanni-772d5ae117e27663f8089844596119ae4d0ba543.tar.bz2 skyhanni-772d5ae117e27663f8089844596119ae4d0ba543.zip | |
Fix: Visitor Supercraft (#1550)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt index f379ea2f2..0324efcbb 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt @@ -322,7 +322,7 @@ object NEUItems { } } - fun NeuRecipe.getCachedIngredients() = ingredientsCache.getOrPut(this) { ingredients } + fun NeuRecipe.getCachedIngredients() = ingredientsCache.getOrPut(this) { allIngredients() } fun neuHasFocus(): Boolean { if (AuctionSearchOverlay.shouldReplace()) return true @@ -349,4 +349,6 @@ object NEUItems { val jsonObject = ConfigManager.gson.fromJson(jsonString, JsonObject::class.java) return manager.jsonToStack(jsonObject, false) } + + fun NeuRecipe.allIngredients(): Set<Ingredient> = ingredients } |
