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