diff --git a/lib/plugins/digging.js b/lib/plugins/digging.js index 23bbc79ea..a15b68435 100644 --- a/lib/plugins/digging.js +++ b/lib/plugins/digging.js @@ -242,7 +242,7 @@ function inject (bot) { return block.digTime( type, creative, - _getBlockAtEyeLevel()?.name === 'water', + bot._getBlockAtEyeLevel()?.name === 'water', !bot.entity.onGround, enchantments, bot.entity.effects