Fixed #1238 - "Controller requires replacing after power loss"
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
### 1.4.8
|
||||
- Fixed missing config categories in ingame config (raoulvdberge)
|
||||
- Fixed Controller not working anymore after changing redstone setting (raoulvdberge)
|
||||
|
||||
### 1.4.7
|
||||
- Fixed bug where Portable Grid would dupe in inventory (raoulvdberge)
|
||||
|
@@ -118,6 +118,7 @@ public class NetworkNodeGraph implements INetworkNodeGraph {
|
||||
List<INetworkNode> oldNodes = new ArrayList<>(nodes);
|
||||
|
||||
nodes.clear();
|
||||
nodePositions.clear();
|
||||
|
||||
for (INetworkNode node : oldNodes) {
|
||||
if (node.getNetwork() == controller) {
|
||||
|
@@ -107,11 +107,7 @@ public class TileController extends TileBase implements ITickable, INetwork, IRe
|
||||
continue;
|
||||
}
|
||||
|
||||
ClientNode clientNode = new ClientNode(
|
||||
stack,
|
||||
1,
|
||||
node.getEnergyUsage()
|
||||
);
|
||||
ClientNode clientNode = new ClientNode(stack, 1, node.getEnergyUsage());
|
||||
|
||||
if (nodes.contains(clientNode)) {
|
||||
ClientNode other = nodes.get(nodes.indexOf(clientNode));
|
||||
|
Reference in New Issue
Block a user