Merge pull request #2020 from AEnterprise/6.1.x
fix progressbar in the lasertables
This commit is contained in:
commit
9fc636d272
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ public abstract class TileLaserTableBase extends TileBuildCraft implements ILase
|
|||
} else if (energy >= clientRequiredEnergy) {
|
||||
return ratio;
|
||||
} else {
|
||||
return (int) (energy / clientRequiredEnergy * ratio);
|
||||
return (int) ((double) energy / (double) clientRequiredEnergy * ratio);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue