mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Update ItemRBMKRod.java
Prevents RBMK temperature from skyrocketing to infinity when DisableMeltdowns is enabled by
This commit is contained in:
parent
a18820e4b5
commit
3bf082a64c
@ -205,7 +205,7 @@ public class ItemRBMKRod extends Item {
|
|||||||
double avg = (heat + hullHeat + coreHeat) / 3D;
|
double avg = (heat + hullHeat + coreHeat) / 3D;
|
||||||
this.setCoreHeat(stack, avg);
|
this.setCoreHeat(stack, avg);
|
||||||
this.setHullHeat(stack, avg);
|
this.setHullHeat(stack, avg);
|
||||||
return avg;
|
return avg - heat;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(hullHeat <= heat)
|
if(hullHeat <= heat)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user