Fixes #249
This commit is contained in:
parent
6ab71cb612
commit
e4760e559b
1 changed files with 2 additions and 5 deletions
|
@ -13,7 +13,6 @@ public class TileLesu extends TilePowerAcceptor {//TODO wrench
|
||||||
|
|
||||||
private ArrayList<LesuNetwork> countedNetworks = new ArrayList<LesuNetwork>();
|
private ArrayList<LesuNetwork> countedNetworks = new ArrayList<LesuNetwork>();
|
||||||
public int connectedBlocks = 0;
|
public int connectedBlocks = 0;
|
||||||
public int currentBlocks = 0;
|
|
||||||
|
|
||||||
private double euLastTick = 0;
|
private double euLastTick = 0;
|
||||||
private double euChange;
|
private double euChange;
|
||||||
|
@ -50,10 +49,8 @@ public class TileLesu extends TilePowerAcceptor {//TODO wrench
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (currentBlocks != connectedBlocks) {
|
maxStorage = ((connectedBlocks + 1) * ConfigTechReborn.lesuStoragePerBlock);
|
||||||
maxStorage = ((connectedBlocks + 1) * ConfigTechReborn.lesuStoragePerBlock);
|
output = (connectedBlocks * ConfigTechReborn.extraOutputPerLesuBlock) + ConfigTechReborn.baseLesuOutput;
|
||||||
output = (connectedBlocks * ConfigTechReborn.extraOutputPerLesuBlock) + ConfigTechReborn.baseLesuOutput;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ticks == ConfigTechReborn.aveargeEuOutTickTime) {
|
if (ticks == ConfigTechReborn.aveargeEuOutTickTime) {
|
||||||
euChange = -1;
|
euChange = -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue