diff --git a/package.json b/package.json index 03e493254..e5b8e792d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "poracle", - "version": "4.6.2", + "version": "4.7.0", "description": "Webhook processing and personalised discord|telegram alarms", "keywords": [ "poracle", diff --git a/src/app.js b/src/app.js index da09dff19..0807aa157 100644 --- a/src/app.js +++ b/src/app.js @@ -538,7 +538,7 @@ async function processOne(hook) { fastify.controllerLog.debug(`${hook.message.encounter_id}: Wild encounter was received but set to be ignored in config`) break } - if (!hook.message.poracleTest) { + if (!hook.message.poracleTest && !config.tuning?.disablePokemonCache) { fastify.webhooks.info(`pokemon ${JSON.stringify(hook.message)}`) const verifiedSpawnTime = (hook.message.verified || hook.message.disappear_time_verified) const cacheKey = `${hook.message.encounter_id}${verifiedSpawnTime ? 'T' : 'F'}${hook.message.cp}`