Fixed infinite kinetic energy being produced, closes #22
This commit is contained in:
parent
b0156b70a0
commit
b09745a320
|
@ -79,7 +79,8 @@ public class TileEntityMechIEtoIC extends TileEntityIWBase implements IDirection
|
|||
@Override
|
||||
public int maxrequestkineticenergyTick(EnumFacing f) {
|
||||
if (f == dir) {
|
||||
return maxOutput;
|
||||
int stored = (int) (ConversionUtil.kinPerRot() * rotBuffer);
|
||||
return Math.min(maxOutput, stored);
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue