Fixed energy cubes not outputting items

This commit is contained in:
Aidan C. Brady 2015-02-11 08:43:32 -05:00
parent 84cdf8e92b
commit 0612712abe

View file

@ -126,12 +126,6 @@ public final class ChargeUtils
*/
public static boolean canBeOutputted(ItemStack itemstack, boolean chargeSlot)
{
if(chargeSlot)
{
return MekanismUtils.useIC2() && itemstack.getItem() instanceof IElectricItem;
}
else {
return MekanismUtils.useIC2() && itemstack.getItem() instanceof IElectricItem && ((IElectricItem)itemstack.getItem()).canProvideEnergy(itemstack);
}
return true; //this is too much of a hassle to manage
}
}