fixed little goof i made

This commit is contained in:
APEX FIGHT
2026-01-16 16:03:18 -05:00
parent e27aed77ef
commit 68b85fe4de

View File

@@ -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);