From a45f5d6c083edbf52bce4be0a4f184b53992e9cb Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Sun, 18 Nov 2018 17:37:48 +0100 Subject: [PATCH] Fixed oredict mode in autocrafting not working at all. Fixes #2060 --- CHANGELOG.md | 3 ++- .../refinedstorage/apiimpl/autocrafting/CraftingPattern.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c417d0311..80c68a5b2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### 1.6.10 - Fixed client FPS stalling when using "@" mod search in the Grid (raoulvdberge) +- Fixed client FPS stalling when using "#" tooltip search in the Grid (raoulvdberge) - Fixed fluid inputs/outputs in the Pattern Grid not being set when you re-insert a Pattern with fluid inputs/outputs (raoulvdberge) - Fixed bug where the Pattern Grid doesn't update it's output slot when manually configuring a crafting pattern (raoulvdberge) - Fixed network node scanning allowing multiple controllers in some cases (raoulvdberge) @@ -10,9 +11,9 @@ - Fixed OpenComputers voiding items with extract item API when there is no inventory space (raoulvdberge) - Fixed CraftingTweaks buttons resetting sometimes in the Crafting Grid (raoulvdberge) - Fixed Refined Storage jars not being signed (raoulvdberge) -- Fixed client stalling when trying to search with # for tooltips (raoulvdberge) - Fixed crafting task stalling when there's not enough space in the inventory (raoulvdberge) - Fixed another duplication bug with a disconnected Crafting Grid (raoulvdberge) +- Fixed oredict mode in autocrafting not working at all (raoulvdberge) - Removed getMissingItems() and getMissingFluids() functions from the OpenComputers integration, that info is now accessible through schedule(Fluid)Task(). If you just want to check if there are missing items/fluids but don't want to start an actual task, use the "canSchedule" parameter (raoulvdberge) - Updated Russian translation (kellixon) - Added fluid functions for the fluid autocrafting to the OpenComputers integration (raoulvdberge) diff --git a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/autocrafting/CraftingPattern.java b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/autocrafting/CraftingPattern.java index 8a302cc63..33049d901 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/autocrafting/CraftingPattern.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/autocrafting/CraftingPattern.java @@ -58,7 +58,7 @@ public class CraftingPattern implements ICraftingPattern { ores.add(input.copy()); - for (int id : OreDictionary.getOreIDs(stack)) { + for (int id : OreDictionary.getOreIDs(input)) { String name = OreDictionary.getOreName(id); for (ItemStack ore : OreDictionary.getOres(name)) {