mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
Fix tools being able to break every block that doesn't require a tool in adventure mode
This commit is contained in:
1 parent
8d3cfce638
commit
cfebaef2c3
2 files changed
-25
No files matched your search
@@ -102,19 +102,9 @@ public abstract class HarvestTool extends ToolCore
|
||||
@Override
|
||||
public boolean func_150897_b (Block block)
|
||||
{
|
||||
if (block.getMaterial().isToolNotRequired())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return isEffective(block.getMaterial());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canHarvestBlock (Block block, ItemStack itemStack)
|
||||
{
|
||||
return func_150897_b(block);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getTraits ()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user