Skip to content

Commit b16863c

Browse files
authored
Fix fluid tag inputs only accepts the first fluid in the tag (#160)
1 parent 1a7cb8a commit b16863c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/net/swedz/tesseract/neoforge/compat/mi/helper/CrafterComponentHelper.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ public static boolean fluidIngredientMatch(FluidVariant resource, FluidIngredien
9999
{
100100
for(var stack : ingredient.getStacks())
101101
{
102-
return resource.equals(FluidVariant.of(stack.getFluid()));
102+
if(resource.equals(FluidVariant.of(stack.getFluid())))
103+
{
104+
return true;
105+
}
103106
}
104107
return false;
105108
}

0 commit comments

Comments
 (0)