Fixed Controller always using the base usage even when turned off. Fixes #2478
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- Added a new experimental autocrafting engine that's enabled by default. This should improve autocrafting performance (Darkere)
|
- Added a new experimental autocrafting engine that's enabled by default. This should improve autocrafting performance (Darkere)
|
||||||
- Wireless Transmitters can now be placed on any block and in any direction (raoulvdberge)
|
- Wireless Transmitters can now be placed on any block and in any direction (raoulvdberge)
|
||||||
- Fixed Exporter not exporting anything when using a Stack Upgrade and there isn't space for 64 items in the inventory (raoulvdberge)
|
- Fixed Exporter not exporting anything when using a Stack Upgrade and there isn't space for 64 items in the inventory (raoulvdberge)
|
||||||
|
- Fixed Controller always using the base usage even when turned off (raoulvdberge)
|
||||||
|
|
||||||
### 1.8.2
|
### 1.8.2
|
||||||
- Add Refined Storage silicon to forge:silicon tag for mod compatibility (jeremiahwinsley)
|
- Add Refined Storage silicon to forge:silicon tag for mod compatibility (jeremiahwinsley)
|
||||||
|
@@ -519,7 +519,7 @@ public class Network implements INetwork, IRedstoneConfigurable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateEnergyUsage() {
|
private void updateEnergyUsage() {
|
||||||
int usage = RS.SERVER_CONFIG.getController().getBaseUsage();
|
int usage = redstoneMode.isEnabled(world, pos) ? RS.SERVER_CONFIG.getController().getBaseUsage() : 0;
|
||||||
|
|
||||||
for (INetworkNode node : nodeGraph.all()) {
|
for (INetworkNode node : nodeGraph.all()) {
|
||||||
if (node.isActive()) {
|
if (node.isActive()) {
|
||||||
|
Reference in New Issue
Block a user