Ported, but did not enable GT 1.7

This commit is contained in:
AlgorithmX2
2014-05-01 21:50:04 -05:00
parent 40de3da454
commit 5bacb015e5
3 changed files with 11 additions and 10 deletions
@@ -1,6 +1,6 @@
package appeng.integration.modules.helpers.dead;
package appeng.integration.modules.helpers;
import gregtechmod.api.interfaces.IDigitalChest;
import gregtech.api.interfaces.tileentity.IDigitalChest;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import appeng.api.config.Actionable;
@@ -24,7 +24,7 @@ public class GregTechQuantumChest extends MEIInventoryWrapper
private ItemStack getType()
{
ItemStack[] array = qc.getStoredItemData();
if ( array.length > 0 && array[0].itemID > 0 )
if ( array.length > 0 && array[0].getItem() != null )
return array[0];
return null;
}