modmuss50 2017-06-29 12:50:23 +01:00
parent 327bba2775
commit 0d4fced8bb
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA

View file

@ -145,7 +145,7 @@ public class TileChemicalReactor extends TilePowerAcceptor
// }
public int getProgressScaled(final int scale) {
if (this.crafter.currentTickTime != 0) {
if (this.crafter.currentTickTime != 0 && this.crafter.currentNeededTicks > 0) {
return this.crafter.currentTickTime * scale / this.crafter.currentNeededTicks;
}
return 0;