if (liquid == null) {
liquid = IngredientAny.INSTANCE;
}
List<ICastingRecipe> recipes = new LinkedList<ICastingRecipe>();
for (ICastingRecipe recipe : list) {
<BUG>if (recipe != null) {
if (!matches(output, toIItemStack(((CastingRecipe) recipe).getResult()))) {</BUG>
continue;
}
if (!matches(liquid, toILiquidStack(((CastingRecipe) recipe).getFluid()))) {

if (liquid == null) {
liquid = IngredientAny.INSTANCE;
}
List<ICastingRecipe> recipes = new LinkedList<ICastingRecipe>();
for (ICastingRecipe recipe : list) {
if (recipe instanceof CastingRecipe) {
if (!matches(output, toIItemStack(((CastingRecipe) recipe).getResult()))) {
continue;
}
if (!matches(liquid, toILiquidStack(((CastingRecipe) recipe).getFluid()))) {
