Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
josiah-roberts committed Dec 29, 2023
1 parent cef1e27 commit 7029fd1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
import gregtech.api.metatileentity.multiblock.RecipeMapMultiblockController;
import gregtech.api.recipes.Recipe;
import gregtech.api.recipes.RecipeBuilder;

import gregtech.api.recipes.RecipeMap;

import gregtech.api.util.GTUtility;

import net.minecraft.item.ItemStack;
Expand Down Expand Up @@ -122,7 +120,8 @@ protected boolean checkPreviousRecipe() {

final List<ItemStack> items = GTUtility.itemHandlerToList(inputs).stream().filter(s -> !s.isEmpty()).collect(
Collectors.toList());
final List<FluidStack> fluids = GTUtility.fluidHandlerToList(fluidInputs).stream().filter(f -> f != null && f.amount != 0)
final List<FluidStack> fluids = GTUtility.fluidHandlerToList(fluidInputs).stream()
.filter(f -> f != null && f.amount != 0)
.collect(Collectors.toList());

return map.find(items, fluids, recipe -> {
Expand Down

0 comments on commit 7029fd1

Please sign in to comment.