diff --git a/src/lib.js b/src/lib.js index 38c5ca3c84..3cab5f6a5e 100644 --- a/src/lib.js +++ b/src/lib.js @@ -402,7 +402,7 @@ async function processItems(base64, source, customTextures = false, packs, cache const { farmed_cultivating } = item.tag.ExtraAttributes; if (farmed_cultivating > 0) { - item.extra.farmed_cultivating = farmed_cultivating; + item.extra.farmed_cultivating = item.tag?.ExtraAttributes?.mined_crops?.toString() ?? farmed_cultivating; } } diff --git a/views/stats.ejs b/views/stats.ejs index 11664cec4b..685ecc32fe 100644 --- a/views/stats.ejs +++ b/views/stats.ejs @@ -590,7 +590,7 @@ function getDescription() { `💰 Purse: ${helper.formatNumber(calculated.purse, true)}` ) - // Done! + // Done! return description.join('') }