fixed little goof i made
This commit is contained in:
@@ -5,15 +5,6 @@ ServerEvents.recipes(e => {
|
||||
|
||||
|
||||
|
||||
ServerEvents.recipes(event => {
|
||||
let recipes=[];
|
||||
event.forEachRecipe({},r=>{
|
||||
// console.log("recipe",r.json.toString())
|
||||
recipes.push(JSON.parse(r.json.toString()));
|
||||
});
|
||||
let recipe=JSON.stringify(recipes);
|
||||
console.log(recipe);
|
||||
})
|
||||
|
||||
|
||||
|
||||
@@ -22,6 +13,13 @@ ServerEvents.recipes(e => {
|
||||
|
||||
|
||||
|
||||
let recipes=[];
|
||||
e.forEachRecipe({},r=>{
|
||||
// console.log("recipe",r.json.toString())
|
||||
recipes.push(JSON.parse(r.json.toString()));
|
||||
});
|
||||
let recipe=JSON.stringify(recipes);
|
||||
console.log(recipe);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user