Waila Harvestability

Waila Harvestability

55M Downloads

ToolHelper.isToolEffectiveAgainst uses vanilla break speed method instead of Forge method

Choonster opened this issue ยท 3 comments

commented

The last line of ToolHelper.isToolEffectiveAgainst uses the vanilla ItemStack#func_150997_a method to get the tool's break speed for the block, but it should probably use the Forge-provided Item#getDigSpeed method instead since this is used for the actual break speed calculations when breaking blocks.

commented

Good call, thanks for letting me know about that.

commented

Thanks for the quick fix. This should allow my custom swords to show as effective tools for Cobwebs.