Fix IC2 charging
This commit is contained in:
parent
8289af18fd
commit
ce629e218c
2 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ package mekanism.client.sound;
|
|||
import java.net.URL;
|
||||
|
||||
import mekanism.client.MekanismClient;
|
||||
import mekanism.common.Mekanism;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
|
|
|
@ -83,7 +83,7 @@ public final class ChargeUtils
|
|||
}
|
||||
else if(Mekanism.hooks.IC2Loaded && storer.inventory[slotID].getItem() instanceof IElectricItem)
|
||||
{
|
||||
double sent = ElectricItem.manager.charge(storer.inventory[slotID], (int)(storer.getEnergy()*Mekanism.TO_IC2), 3, true, false)*Mekanism.FROM_IC2;
|
||||
double sent = ElectricItem.manager.charge(storer.inventory[slotID], (int)(storer.getEnergy()*Mekanism.TO_IC2), 4, true, false)*Mekanism.FROM_IC2;
|
||||
storer.setEnergy(storer.getEnergy() - sent);
|
||||
}
|
||||
else if(storer.inventory[slotID].getItem() instanceof IEnergyContainerItem)
|
||||
|
|
Loading…
Reference in a new issue