diff options
Diffstat (limited to 'src/main/java/gregtech/common/tools')
| -rw-r--r-- | src/main/java/gregtech/common/tools/GT_Tool.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main/java/gregtech/common/tools/GT_Tool.java b/src/main/java/gregtech/common/tools/GT_Tool.java index 299d59ede3..5f54f7bdc3 100644 --- a/src/main/java/gregtech/common/tools/GT_Tool.java +++ b/src/main/java/gregtech/common/tools/GT_Tool.java @@ -146,15 +146,9 @@ public abstract class GT_Tool public float getMagicDamageAgainstEntity(float aOriginalDamage, Entity aEntity, ItemStack aStack, EntityPlayer aPlayer) {
return aOriginalDamage;
}
-
- public float getMiningSpeed(Block aBlock, byte aMetaData)
- {
- return isMinableBlock(aBlock, aMetaData) ? 1.0F : 0.0F;
- }
-
@Override
public float getMiningSpeed(Block aBlock, byte aMetaData, float aDefault, EntityPlayer aPlayer, World worldObj, int aX, int aY, int aZ) {
- return getMiningSpeed(aBlock, aMetaData);
+ return aDefault;
}
}
|
