Skip to content

Commit

Permalink
Update digging.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Pix3lPirat3 committed Jan 6, 2025
1 parent 3aa1739 commit c7ce4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/digging.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7ce4ef

Please sign in to comment.