Fix #1541
This commit is contained in:
parent
dace0e56d0
commit
32ea97b29e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue