diff --git a/src/main/java/com/simibubi/create/foundation/fluid/FluidIngredient.java b/src/main/java/com/simibubi/create/foundation/fluid/FluidIngredient.java index ba85a3dc2..0a6fcca97 100644 --- a/src/main/java/com/simibubi/create/foundation/fluid/FluidIngredient.java +++ b/src/main/java/com/simibubi/create/foundation/fluid/FluidIngredient.java @@ -152,8 +152,7 @@ public abstract class FluidIngredient implements Predicate { @Override protected boolean testInternal(FluidStack t) { - if (!t.getFluid() - .isSame(fluid)) + if (t.getFluid() != fluid) return false; if (tagToMatch.isEmpty()) return true; @@ -206,8 +205,7 @@ public abstract class FluidIngredient implements Predicate { protected boolean testInternal(FluidStack t) { if (tag == null) { for (FluidStack accepted : getMatchingFluidStacks()) - if (accepted.getFluid() - .isSame(t.getFluid())) + if (accepted.getFluid() != t.getFluid()) return true; return false; }