Harvest Level fix
This commit is contained in:
parent
87b033b319
commit
ebad9b80dd
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ public class GT_TileEntity_Ores extends TileEntity {
|
||||||
Materials aMaterial = GregTech_API.sGeneratedMaterials[(aMetaData % 1000)];
|
Materials aMaterial = GregTech_API.sGeneratedMaterials[(aMetaData % 1000)];
|
||||||
if(aMaterial != null) {
|
if(aMaterial != null) {
|
||||||
boolean gravelAlike = aBlock.isGravelAlike(aMetaData);
|
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 gravelAlike ? 8 + toolQuality : toolQuality;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue