From 0c37284c97f3cc0cac5522c0f9ce18c57755fda2 Mon Sep 17 00:00:00 2001 From: MauveCloud Date: Sat, 11 Mar 2017 19:50:00 -0800 Subject: [PATCH] Fix for #909 --- src/main/java/gregtech/jei/JEIGregtechRecipe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gregtech/jei/JEIGregtechRecipe.java b/src/main/java/gregtech/jei/JEIGregtechRecipe.java index 0e275509..ac87feba 100644 --- a/src/main/java/gregtech/jei/JEIGregtechRecipe.java +++ b/src/main/java/gregtech/jei/JEIGregtechRecipe.java @@ -576,7 +576,7 @@ public class JEIGregtechRecipe implements IRecipeWrapper { mInputs.addTooltipCallback((slotIndex, input, ingredient, tooltip) -> { int slotType = slotIndex / 1000; - int inputIndex = slotType % 1000; + int inputIndex = slotIndex % 1000; switch (slotType) { case 1: //it's output