zen-flow 2.6.1 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/zenflow.cjs CHANGED
@@ -230,7 +230,7 @@ const replaceQED = (ingredient, recipe) => [
230
230
  ].join("\n");
231
231
 
232
232
  const addCarpenter = (ingredient, recipe) => {
233
- const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatStack(recipe.top));
233
+ const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatIngredient(recipe.top));
234
234
  return `mods.forestry.Carpenter.addRecipe(${out});`;
235
235
  };
236
236
  const removeCarpenter = (id, liquid) => `mods.forestry.Carpenter.removeRecipe(${formatArgs(id, liquid)});`;
package/dist/zenflow.d.ts CHANGED
@@ -180,7 +180,7 @@ declare const replaceQED: (ingredient: Ingredient, recipe: RecipeShaped) => stri
180
180
 
181
181
  declare type RecipeCarpenter = {
182
182
  recipe: RecipeShaped;
183
- top?: Stack;
183
+ top?: Ingredient;
184
184
  ticks: number;
185
185
  liquid?: Stack;
186
186
  };
package/dist/zenflow.mjs CHANGED
@@ -226,7 +226,7 @@ const replaceQED = (ingredient, recipe) => [
226
226
  ].join("\n");
227
227
 
228
228
  const addCarpenter = (ingredient, recipe) => {
229
- const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatStack(recipe.top));
229
+ const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatIngredient(recipe.top));
230
230
  return `mods.forestry.Carpenter.addRecipe(${out});`;
231
231
  };
232
232
  const removeCarpenter = (id, liquid) => `mods.forestry.Carpenter.removeRecipe(${formatArgs(id, liquid)});`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-flow",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "MineTweaker ZenScript made easy.",
5
5
  "main": "dist/zenflow.cjs",
6
6
  "module": "dist/zenflow.mjs",