diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2017-12-09 19:24:47 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2017-12-09 19:24:47 +1000 |
commit | 017115aa431efd6a934fff59d5fe39aad3866f58 (patch) | |
tree | a1c8c41ba0375f4b76aa73a1c3045e53704f1c70 /src/Java/gtPlusPlus/core/item | |
parent | 02c185e70e23c3c826e26e2ca4ddf5dbb056af71 (diff) | |
download | GT5-Unofficial-017115aa431efd6a934fff59d5fe39aad3866f58.tar.gz GT5-Unofficial-017115aa431efd6a934fff59d5fe39aad3866f58.tar.bz2 GT5-Unofficial-017115aa431efd6a934fff59d5fe39aad3866f58.zip |
$ Fixed a compile error after refactoring a config variable to a new location.
Diffstat (limited to 'src/Java/gtPlusPlus/core/item')
-rw-r--r-- | src/Java/gtPlusPlus/core/item/general/RF2EU_Battery.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/core/item/general/RF2EU_Battery.java b/src/Java/gtPlusPlus/core/item/general/RF2EU_Battery.java index 9c1fdd29f5..7d05a221b9 100644 --- a/src/Java/gtPlusPlus/core/item/general/RF2EU_Battery.java +++ b/src/Java/gtPlusPlus/core/item/general/RF2EU_Battery.java @@ -25,15 +25,15 @@ import net.minecraft.world.World; public class RF2EU_Battery extends ItemEnergyContainer implements IElectricItem, IElectricItemManager, IFuelHandler{ - public static int rfPerEU = 4; + public static double rfPerEU = 3.4; private final String unlocalizedName = "rfEUBattery"; private final ItemStack thisStack; private final static int maxValueEU = 100000000; - private final static int maxValueRF = maxValueEU * rfPerEU; + private final static int maxValueRF = (int) (maxValueEU * rfPerEU); protected double chargeEU = 0; public RF2EU_Battery(){ - super(maxValueRF, maxValueRF, maxValueRF); + super(maxValueRF); GameRegistry.registerFuelHandler(this); //this.setMaxDamage(Integer.MAX_VALUE); //this.setDamage(UtilsItems.getSimpleStack(this), 0); |