diff options
| author | aerospark <lukefay12@gmail.com> | 2015-06-22 19:06:38 -0400 |
|---|---|---|
| committer | aerospark <lukefay12@gmail.com> | 2015-06-22 19:06:38 -0400 |
| commit | b803f59de5a66fcb4ef53e117b912fbbc2841392 (patch) | |
| tree | 45aed590c09043396293839276b90e738d3ff420 /main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java | |
| parent | ff871d6b8ae08704a6ad73f4b0103d458bc9b65d (diff) | |
| parent | 55c596b008807a7cb4b58422efd07636425be1e2 (diff) | |
| download | GT5-Unofficial-b803f59de5a66fcb4ef53e117b912fbbc2841392.tar.gz GT5-Unofficial-b803f59de5a66fcb4ef53e117b912fbbc2841392.tar.bz2 GT5-Unofficial-b803f59de5a66fcb4ef53e117b912fbbc2841392.zip | |
Merge pull request #1 from Blood-Asp/master
version 5.08.20
Diffstat (limited to 'main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java')
| -rw-r--r-- | main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java b/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java index cee5bb5689..e556f4b53c 100644 --- a/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java +++ b/main/java/gregtech/api/items/GT_RadioactiveCellIC_Item.java @@ -76,9 +76,10 @@ import net.minecraft.world.World; checkHeatAcceptor(reactor, x + 1, y, heatAcceptors); checkHeatAcceptor(reactor, x, y - 1, heatAcceptors); checkHeatAcceptor(reactor, x, y + 1, heatAcceptors); + heat = (int) (heat * sEnergy); while ((heatAcceptors.size() > 0) && (heat > 0)) { - heat *=sEnergy; + int dheat = heat / heatAcceptors.size(); heat -= dheat; dheat = ((IReactorComponent)((ItemStackCoord)heatAcceptors.get(0)).stack.getItem()).alterHeat(reactor, ((ItemStackCoord)heatAcceptors.get(0)).stack, ((ItemStackCoord)heatAcceptors.get(0)).x, ((ItemStackCoord)heatAcceptors.get(0)).y, dheat); |
