Reduce damage sense takes when harvesting ic2 crops compared to other uses

This commit is contained in:
Blood-Asp 2016-12-23 23:51:02 +01:00
parent 8e8843b3c9
commit c250d93fe5

View file

@ -30,7 +30,7 @@ public class Behaviour_Sense
for (int j = -2; j < 3; j++) {
for (int k = -2; k < 3; k++) {
if ((aStack.stackSize > 0) && (((tTileEntity = aWorld.getTileEntity(aX + i, aY + j, aZ + k)) instanceof ICropTile)) && (((ICropTile) tTileEntity).harvest(true)) && (!aPlayer.capabilities.isCreativeMode)) {
((GT_MetaGenerated_Tool) aItem).doDamage(aStack, this.mCosts);
((GT_MetaGenerated_Tool) aItem).doDamage(aStack, this.mCosts/20);
}
}
}