fix TileEnergyEmitter mistake
This commit is contained in:
parent
cba7b0ba18
commit
95e77f77c3
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ public class TileEnergyEmitter extends TileBuildCraft {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
int perTargetEnergy = (int)Math.floor(getBattery().useEnergy(targets.size(), targets.size() * 100, false));
|
||||
int perTargetEnergy = (int)Math.floor(getBattery().useEnergy(targets.size(), targets.size() * 100, false) / targets.size());
|
||||
|
||||
for (Target t : targets.values()) {
|
||||
if (!t.data.isVisible) {
|
||||
|
|
Loading…
Reference in a new issue