From ebad9b80ddc47c023c9adf9e4f15586ef4ff25a5 Mon Sep 17 00:00:00 2001 From: Dragon2488 Date: Tue, 25 Oct 2016 13:13:00 +0700 Subject: [PATCH] Harvest Level fix --- src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java b/src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java index 2f52d007..60897fc9 100644 --- a/src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java +++ b/src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java @@ -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;