Skip to content

Commit a8ccb02

Browse files
jurrejelleGhostipediaYoungOnionMC
authored
Fix recipe logic overconsumption (#3605)
Co-authored-by: Ghostipedia <Ghostipedia@gmail.com> Co-authored-by: YoungOnion <39562198+YoungOnionMC@users.noreply.github.com>
1 parent 6c27784 commit a8ccb02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/gregtechceu/gtceu/api/recipe/RecipeRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ private ActionResult handleContents() {
133133
if (res.isEmpty()) {
134134
if (!simulated) {
135135
// Actually consume the contents of this handler and also all the bypassed handlers
136-
handler.handleRecipe(io, recipe, recipeContents, false);
136+
recipeContents = handler.handleRecipe(io, recipe, recipeContents, false);
137137
for (RecipeHandlerList bypassHandler : handlerGroups.getOrDefault(
138138
RecipeHandlerGroupDistinctness.BYPASS_DISTINCT,
139139
Collections.emptyList())) {
140-
bypassHandler.handleRecipe(io, recipe, recipeContents, false);
140+
recipeContents = bypassHandler.handleRecipe(io, recipe, recipeContents, false);
141141
}
142142
}
143143
recipeContents.clear();

0 commit comments

Comments
 (0)