aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
diff options
context:
space:
mode:
authorJohn <Techlone@users.noreply.github.com>2016-04-02 16:07:59 +0500
committerJohn <Techlone@users.noreply.github.com>2016-04-02 16:07:59 +0500
commit0aad2f76890c0490b3a277609fa48cce0a97ce1f (patch)
tree4c3d81b018e860597811036b57289e31954995db /src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
parent792cca0af612ff35bd36e5408e538a386f5d02db (diff)
parentb71fa8f0429cf58b7e16aa94c9361d33e85dbe5f (diff)
downloadGT5-Unofficial-0aad2f76890c0490b3a277609fa48cce0a97ce1f.tar.gz
GT5-Unofficial-0aad2f76890c0490b3a277609fa48cce0a97ce1f.tar.bz2
GT5-Unofficial-0aad2f76890c0490b3a277609fa48cce0a97ce1f.zip
Merge pull request #1 from Blood-Asp/experimental
Update from orig
Diffstat (limited to 'src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java')
-rw-r--r--src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java b/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
index 2cd0c0d3b5..455cfb14a5 100644
--- a/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
+++ b/src/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java
@@ -94,7 +94,7 @@ public class GT_RadioactiveCellIC_Item extends GT_RadioactiveCell_Item implement
{
if (sMox&&reactor.isFluidCooled())
{
- float breedereffectiveness = reactor.getHeat() / reactor.getMaxHeat();
+ float breedereffectiveness = (float)reactor.getHeat() / (float)reactor.getMaxHeat();
if (breedereffectiveness > 0.5D) {
heat *= 2;
}