This commit is contained in:
modmuss50 2016-12-06 08:23:11 +00:00
parent bf60b32eb2
commit 97e5fcc032

View file

@ -94,7 +94,7 @@ public class TileGrinder extends TilePowerAcceptor implements IWrenchable, IInve
}
public int getProgressScaled(int scale) {
if (crafter.currentTickTime != 0) {
if (crafter.currentTickTime != 0 && crafter.currentNeededTicks != 0) {
return crafter.currentTickTime * scale / crafter.currentNeededTicks;
}
return 0;