mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-07 12:10:46 +00:00
fix a small thing in digging
This commit is contained in:
parent
6b6a6764ae
commit
067128e8c9
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ module.exports.player=function(player,serv)
|
||||||
block=facedBlock;
|
block=facedBlock;
|
||||||
pos=facedPos;
|
pos=facedPos;
|
||||||
}
|
}
|
||||||
else block=player.world.getBlock(pos);
|
else block=await player.world.getBlock(pos);
|
||||||
|
|
||||||
currentlyDugBlock = block;
|
currentlyDugBlock = block;
|
||||||
if (currentlyDugBlock.type == 0) return;
|
if (currentlyDugBlock.type == 0) return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue