Engineer's Decor, fix bug
This commit is contained in:
parent
9a37a86712
commit
1fb186454b
4 changed files with 73 additions and 4 deletions
|
|
@ -152,8 +152,14 @@ global.recipes = event => ({
|
|||
* @param {Internal.ItemStackJS} left
|
||||
* @param {Internal.ItemStackJS} right
|
||||
*/
|
||||
automatableSmithing: function (out, left, right) {
|
||||
automatableSmithing: (out, left, right) => {
|
||||
event.smithing(out, left, right);
|
||||
global.recipes(event).giant(out, ['LR'], {L: left, R: right});
|
||||
event.custom({
|
||||
type: 'create:mechanical_crafting',
|
||||
pattern: ['LR'],
|
||||
key: {L: left, R: right},
|
||||
result: out.toResultJson(),
|
||||
acceptMirrored: false,
|
||||
});
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue