fix ic2 crash (Blood Asp)

This commit is contained in:
Dream-Master 2016-07-02 12:45:52 +02:00
parent f39e81fc90
commit 599095c7dc

View file

@ -11,6 +11,7 @@ import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_ModHandler.RecipeBits; import gregtech.api.util.GT_ModHandler.RecipeBits;
import gregtech.api.util.GT_Recipe.GT_Recipe_Map; import gregtech.api.util.GT_Recipe.GT_Recipe_Map;
import gregtech.api.util.GT_Utility; import gregtech.api.util.GT_Utility;
import ic2.core.Ic2Items;
import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Blocks; import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
@ -72,7 +73,7 @@ public class GT_MetaTileEntity_BasicMachine_GT_Recipe extends GT_MetaTileEntity_
case 6: case 6:
case 7: case 7:
case 8: case 8:
aRecipe[i] = GT_ModHandler.getIC2Item("blockAlloyGlass", 1); aRecipe[i] = Ic2Items.reinforcedGlass;
break; break;
default: default:
aRecipe[i] = new ItemStack(Blocks.glass, 1, W); aRecipe[i] = new ItemStack(Blocks.glass, 1, W);