Should fix electric furnace progress + formatting. Closes #1621
This commit is contained in:
parent
50e35578a2
commit
df13aeeba2
4 changed files with 16 additions and 16 deletions
|
@ -67,8 +67,8 @@ public abstract class TileGenericMachine extends TilePowerAcceptor
|
|||
}
|
||||
|
||||
public int getProgressScaled(final int scale) {
|
||||
if (getRecipeCrafter() != null && getRecipeCrafter().currentTickTime != 0) {
|
||||
return getRecipeCrafter().currentTickTime * scale / getRecipeCrafter().currentNeededTicks;
|
||||
if (crafter != null && crafter.currentTickTime != 0) {
|
||||
return crafter.currentTickTime * scale / crafter.currentNeededTicks;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue