Allow changing of the power cost view in fusion reactor recipes.

This commit is contained in:
modmuss50 2017-10-11 12:56:29 +01:00
parent 55b09da681
commit c80cc0101f
3 changed files with 6 additions and 4 deletions

View file

@ -219,6 +219,7 @@ public class TileFusionControlComputer extends TilePowerAcceptor implements IToo
if (hasStartedCrafting && this.crafingTickTime < this.finalTickTime) {
this.crafingTickTime++;
// Power gen
if (this.currentRecipe.getEuTick() > 0) {
// Waste power if it has no where to go
this.addEnergy(this.currentRecipe.getEuTick());