mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
small optimisation
This commit is contained in:
parent
fac494fac0
commit
077ccc919a
@ -38,7 +38,7 @@
|
|||||||
recipeInternal.push(ingredient);
|
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));
|
var recipe = ModAPI.util.makeArray(ObjectClass, recipeContents.concat(recipeInternal));
|
||||||
|
|
||||||
// Define the output item as diamond_block
|
// Define the output item as diamond_block
|
||||||
|
Loading…
x
Reference in New Issue
Block a user