FantasyTeddy / QuantumFlux

Wireless RF for Minecraft
5 stars 4 forks source link

Fix TileImaginaryTime not being able to extract it's energy requirement #15

Closed LXGaming closed 5 years ago

LXGaming commented 5 years ago

Summary The EnergyStorage in the TileImaginaryTime is constructed with the maxTransfer being set to the chargeRate, When the Tile goes to extract the energy it's limited by the maxTransfer. So if the energyRequirement is higher than the chargeRate instead of extracting the energyRequirement it's getting limited and only extracting the chargeRate.

This PR makes it so the capacity is 1000, the maxReceive is the chargeRate and the maxExtract is the energyRequirement.

FantasyTeddy commented 5 years ago

It took me some time to understand the problem, but now I get it and I'm glad you issued this pull request. Thank you!