zen-flow 2.6.4 → 2.6.6

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
@@ -363,7 +363,7 @@ const removeFurnace = (recipe) => {
363
363
  return `furnace.remove(<*>, ${recipe});`;
364
364
  return `furnace.remove(${formatArgs(recipe.out, recipe.in)});`;
365
365
  };
366
- const addFurnaceFuel = (id, n) => `furnace.setFuel(${formatArgs(id, n)})`;
366
+ const addFurnaceFuel = (id, n) => `furnace.setFuel(${formatArgs(id, n)});`;
367
367
  const removeFurnaceFuel = (id) => addFurnaceFuel(id, 0);
368
368
  const replace = (ingredient, recipe) => {
369
369
  const id = isObject(ingredient) ? ingredient.id : ingredient;
package/dist/zenflow.d.ts CHANGED
@@ -413,7 +413,7 @@ declare const removeTransposerExtract: (id: string) => string;
413
413
  declare type RecipeFurnace = {
414
414
  in: string;
415
415
  out: Ingredient;
416
- xp: number;
416
+ xp?: number;
417
417
  };
418
418
  /**
419
419
  * Add crafting recipe
package/dist/zenflow.mjs CHANGED
@@ -359,7 +359,7 @@ const removeFurnace = (recipe) => {
359
359
  return `furnace.remove(<*>, ${recipe});`;
360
360
  return `furnace.remove(${formatArgs(recipe.out, recipe.in)});`;
361
361
  };
362
- const addFurnaceFuel = (id, n) => `furnace.setFuel(${formatArgs(id, n)})`;
362
+ const addFurnaceFuel = (id, n) => `furnace.setFuel(${formatArgs(id, n)});`;
363
363
  const removeFurnaceFuel = (id) => addFurnaceFuel(id, 0);
364
364
  const replace = (ingredient, recipe) => {
365
365
  const id = isObject(ingredient) ? ingredient.id : ingredient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-flow",
3
- "version": "2.6.4",
3
+ "version": "2.6.6",
4
4
  "description": "MineTweaker ZenScript made easy.",
5
5
  "main": "dist/zenflow.cjs",
6
6
  "module": "dist/zenflow.mjs",