altered recipedump to be more informative
This commit is contained in:
@@ -3,6 +3,10 @@ const toggle = true;
|
||||
ServerEvents.recipes(e => {
|
||||
if (toggle) {
|
||||
console.warn("RECIPE DUMPING IS TURNED ON, THIS WILL DUMP JSON DATA OF ALL OF THE RECIPES IN THE GAME, WILL LAG");
|
||||
console.log(JSON.stringify(e.getRecipes()));
|
||||
let rec = e.getRecipes();
|
||||
|
||||
for (let k in rec) {
|
||||
console.log(JSON.stringify({key:k,val:rec[k]}))
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user