fix a small thing in digging

This commit is contained in:
Romain Beaumont 2015-12-15 00:06:01 +01:00
parent 6b6a6764ae
commit 067128e8c9

View file

@ -21,7 +21,7 @@ module.exports.player=function(player,serv)
block=facedBlock;
pos=facedPos;
}
else block=player.world.getBlock(pos);
else block=await player.world.getBlock(pos);
currentlyDugBlock = block;
if (currentlyDugBlock.type == 0) return;