mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
fixed several tools
This commit is contained in:
1 parent
3d5cdf6ee6
commit
d914004bde
27 files changed
+86
-85
No files matched your search
@@ -78,14 +78,14 @@ public abstract class Weapon extends ToolCore
|
||||
/**
|
||||
* Returns if the item (tool) can harvest results from the block type.
|
||||
*/
|
||||
public boolean canHarvestBlock (Block block)
|
||||
public boolean canHarvestBlock (Block block, ItemStack is)
|
||||
{
|
||||
for (int i = 0; i < web.length; i++)
|
||||
{
|
||||
if (block.func_149688_o() == web[i])
|
||||
return true;
|
||||
}
|
||||
return super.canHarvestBlock(block);
|
||||
return super.canHarvestBlock(block, is);
|
||||
}
|
||||
|
||||
protected Material[] getEffectiveMaterials ()
|
||||
|
||||
Reference in new issue
Block a user