aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/tools/GT_Tool_JackHammer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/common/tools/GT_Tool_JackHammer.java')
-rw-r--r--src/main/java/gregtech/common/tools/GT_Tool_JackHammer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/tools/GT_Tool_JackHammer.java b/src/main/java/gregtech/common/tools/GT_Tool_JackHammer.java
index 7fc4956cbb..2621ff8ef7 100644
--- a/src/main/java/gregtech/common/tools/GT_Tool_JackHammer.java
+++ b/src/main/java/gregtech/common/tools/GT_Tool_JackHammer.java
@@ -15,6 +15,7 @@ import net.minecraftforge.event.world.BlockEvent;
import gregtech.GT_Mod;
import gregtech.api.enums.Textures;
import gregtech.api.interfaces.IIconContainer;
+import gregtech.api.recipe.RecipeMaps;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_ToolHarvestHelper;
import gregtech.api.util.GT_Utility;
@@ -77,11 +78,11 @@ public class GT_Tool_JackHammer extends GT_Tool_Drill_LV {
public int convertBlockDrops(List<ItemStack> aDrops, ItemStack aStack, EntityPlayer aPlayer, Block aBlock, int aX,
int aY, int aZ, byte aMetaData, int aFortune, boolean aSilkTouch, BlockEvent.HarvestDropsEvent aEvent) {
int rConversions = 0;
- GT_Recipe tRecipe = GT_Recipe.GT_Recipe_Map.sHammerRecipes
+ GT_Recipe tRecipe = RecipeMaps.hammerRecipes
.findRecipe(null, true, 2147483647L, null, new ItemStack(aBlock, 1, aMetaData));
if ((tRecipe == null) || (aBlock.hasTileEntity(aMetaData))) {
for (ItemStack tDrop : aDrops) {
- tRecipe = GT_Recipe.GT_Recipe_Map.sHammerRecipes
+ tRecipe = RecipeMaps.hammerRecipes
.findRecipe(null, true, 2147483647L, null, GT_Utility.copyAmount(1, tDrop));
if (tRecipe != null) {
ItemStack tHammeringOutput = tRecipe.getOutput(0);