mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 15:03:01 +00:00
Fix harvest-type being ignored in digspeed-calculation. This meant that hatchets could break ores the same speed as wood blocks, picks wood with the same speed as stone, etc. #897
This commit is contained in:
1 parent
d0ce912498
commit
ab14d03834
1 file changed
+1
-1
@@ -124,7 +124,7 @@ public abstract class HarvestTool extends ToolCore
|
||||
return calculateStrength(tags, block, meta);
|
||||
}
|
||||
}
|
||||
if (block.getHarvestLevel(meta) > 0)
|
||||
if (this.getHarvestType().equals(block.getHarvestTool(meta)) && block.getHarvestLevel(meta) > 0)
|
||||
{
|
||||
return calculateStrength(tags, block, meta); // No issue if the
|
||||
// harvest level is
|
||||
|
||||
Reference in new issue
Block a user