diff --git a/TrueCraft.Client/Modules/PlayerControlModule.cs b/TrueCraft.Client/Modules/PlayerControlModule.cs index f9caa72..d0ef492 100644 --- a/TrueCraft.Client/Modules/PlayerControlModule.cs +++ b/TrueCraft.Client/Modules/PlayerControlModule.cs @@ -249,7 +249,8 @@ namespace TrueCraft.Client.Modules Game.StartDigging = DateTime.UtcNow; short damage; Game.EndDigging = Game.StartDigging.AddMilliseconds( - BlockProvider.GetHarvestTime(block, 0, out damage)); + BlockProvider.GetHarvestTime(block, + Game.Client.Inventory.Hotbar[Game.Client.HotbarSelection].ID, out damage)); Game.Client.QueuePacket(new PlayerDiggingPacket( PlayerDiggingPacket.Action.StartDigging, Game.TargetBlock.X, (sbyte)Game.TargetBlock.Y, Game.TargetBlock.Z,