This commit is contained in:
modmuss50 2018-06-10 11:41:45 +01:00
parent dace0e56d0
commit 32ea97b29e
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -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;