Compare commits

..
Author SHA1 Message Date
Martin Robertz a3a9624870 update 2024-03-01 17:46:48 +01:00
slprime 749d50a028 Correctly find the recipeId under mouse when using the search 2024-03-01 16:12:29 +02:00
@@ -546,9 +546,8 @@ public abstract class GuiRecipe<H extends IRecipeHandler> extends GuiContainer i
List<Integer> indices = getRecipeIndices();
for (int refIndex = 0; refIndex < indices.size(); refIndex++) {
final int recipeIndex = indices.get(refIndex);
if (recipeInFocus(refIndex, recipeIndex)) {
return handler.original.getIngredientStacks(recipeIndex);
if (recipeInFocus(refIndex, indices.get(refIndex))) {
return handler.original.getIngredientStacks(indices.get(refIndex));
}
}