Skip to content

Commit c7ce4ef

Browse files
committed
Update digging.js
1 parent 3aa1739 commit c7ce4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugins/digging.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function inject (bot) {
242242
return block.digTime(
243243
type,
244244
creative,
245-
_getBlockAtEyeLevel()?.name === 'water',
245+
bot._getBlockAtEyeLevel()?.name === 'water',
246246
!bot.entity.onGround,
247247
enchantments,
248248
bot.entity.effects

0 commit comments

Comments
 (0)