Fixed energy cubes not outputting items
This commit is contained in:
parent
84cdf8e92b
commit
0612712abe
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue