From 32ea97b29e51a1c4a9c865494f826aa960559a10 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Sun, 10 Jun 2018 11:41:45 +0100 Subject: [PATCH] Fix #1541 --- .../tiles/fusionReactor/TileFusionControlComputer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/techreborn/tiles/fusionReactor/TileFusionControlComputer.java b/src/main/java/techreborn/tiles/fusionReactor/TileFusionControlComputer.java index 4d4118ec9..c7a373b94 100644 --- a/src/main/java/techreborn/tiles/fusionReactor/TileFusionControlComputer.java +++ b/src/main/java/techreborn/tiles/fusionReactor/TileFusionControlComputer.java @@ -151,7 +151,7 @@ public class TileFusionControlComputer extends TilePowerAcceptor * @return int Scale of progress */ public int getProgressScaled(int scale) { - if (this.crafingTickTime != 0) { + if (this.crafingTickTime != 0 && this.finalTickTime != 0) { return this.crafingTickTime * scale / this.finalTickTime; } return 0;