From ce629e218c3a609e2d6a452c355b3b17e5ff8e1a Mon Sep 17 00:00:00 2001 From: "Aidan C. Brady" Date: Sun, 8 Dec 2013 16:10:52 -0500 Subject: [PATCH] Fix IC2 charging --- common/mekanism/client/sound/Sound.java | 1 - common/mekanism/common/util/ChargeUtils.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/mekanism/client/sound/Sound.java b/common/mekanism/client/sound/Sound.java index a806f0364..a45a95641 100644 --- a/common/mekanism/client/sound/Sound.java +++ b/common/mekanism/client/sound/Sound.java @@ -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; diff --git a/common/mekanism/common/util/ChargeUtils.java b/common/mekanism/common/util/ChargeUtils.java index 658d5c600..f63fac820 100644 --- a/common/mekanism/common/util/ChargeUtils.java +++ b/common/mekanism/common/util/ChargeUtils.java @@ -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)