small optimisation
This commit is contained in:
parent
fac494fac0
commit
077ccc919a
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@
|
|||
recipeInternal.push(ingredient);
|
||||
});
|
||||
|
||||
var recipeContents = recipePattern.flatMap(row => ModAPI.util.str(row));
|
||||
var recipeContents = recipePattern.map(row => ModAPI.util.str(row));
|
||||
var recipe = ModAPI.util.makeArray(ObjectClass, recipeContents.concat(recipeInternal));
|
||||
|
||||
// Define the output item as diamond_block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue