From 3bf082a64ce2f510750c04383ce4da9ffee8b002 Mon Sep 17 00:00:00 2001 From: TehTemmie <36060353+TehTemmie@users.noreply.github.com> Date: Sat, 1 Apr 2023 22:23:23 +0800 Subject: [PATCH] Update ItemRBMKRod.java Prevents RBMK temperature from skyrocketing to infinity when DisableMeltdowns is enabled by --- src/main/java/com/hbm/items/machine/ItemRBMKRod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/hbm/items/machine/ItemRBMKRod.java b/src/main/java/com/hbm/items/machine/ItemRBMKRod.java index a83ed86c5..01c83055c 100644 --- a/src/main/java/com/hbm/items/machine/ItemRBMKRod.java +++ b/src/main/java/com/hbm/items/machine/ItemRBMKRod.java @@ -205,7 +205,7 @@ public class ItemRBMKRod extends Item { double avg = (heat + hullHeat + coreHeat) / 3D; this.setCoreHeat(stack, avg); this.setHullHeat(stack, avg); - return avg; + return avg - heat; } if(hullHeat <= heat)