Harvest Level fix

This commit is contained in:
Dragon2488 2016-10-25 13:13:00 +07:00
parent 87b033b319
commit ebad9b80dd

View file

@ -147,7 +147,7 @@ public class GT_TileEntity_Ores extends TileEntity {
Materials aMaterial = GregTech_API.sGeneratedMaterials[(aMetaData % 1000)];
if(aMaterial != null) {
boolean gravelAlike = aBlock.isGravelAlike(aMetaData);
int toolQuality = Math.max(7, aMaterial.mToolQuality);
int toolQuality = Math.min(7, aMaterial.mToolQuality);
return gravelAlike ? 8 + toolQuality : toolQuality;
}
return 0;