zen-flow 2.4.1 → 2.4.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
@@ -229,7 +229,7 @@ const replaceQED = (ingredient, recipe) => [
229
229
  ].join("\n");
230
230
 
231
231
  const addCarpenter = (ingredient, recipe) => {
232
- const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, formatStack(recipe.top));
232
+ const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatStack(recipe.top));
233
233
  return `mods.forestry.Carpenter.addRecipe(${out});`;
234
234
  };
235
235
  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?: Stack;
184
184
  ticks: number;
185
185
  liquid?: Stack;
186
186
  };
package/dist/zenflow.mjs CHANGED
@@ -225,7 +225,7 @@ const replaceQED = (ingredient, recipe) => [
225
225
  ].join("\n");
226
226
 
227
227
  const addCarpenter = (ingredient, recipe) => {
228
- const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, formatStack(recipe.top));
228
+ const out = formatArgs(formatIngredient(ingredient), formatRecipe(recipe.recipe), recipe.liquid && formatStack(recipe.liquid), recipe.ticks, recipe.top && formatStack(recipe.top));
229
229
  return `mods.forestry.Carpenter.addRecipe(${out});`;
230
230
  };
231
231
  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.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "MineTweaker ZenScript made easy.",
5
5
  "main": "dist/zenflow.cjs",
6
6
  "module": "dist/zenflow.mjs",