further improved recipe dump
This commit is contained in:
@@ -6,7 +6,14 @@ ServerEvents.recipes(e => {
|
|||||||
let rec = e.getRecipes();
|
let rec = e.getRecipes();
|
||||||
|
|
||||||
for (let k in rec) {
|
for (let k in rec) {
|
||||||
console.log(JSON.stringify({key:k,val:rec[k]}))
|
let value = [];
|
||||||
|
for (let i of rec[k]){
|
||||||
|
value.push(i.toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
console.log(JSON.stringify({key:k,val:value}))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user