mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Make a change to the network once it is removed so that TileEntities update accordingly
This commit is contained in:
parent
996b997363
commit
45f7b8f1d4
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ public final class LaserRelayConnectionHandler implements ILaserRelayConnectionH
|
|||
public void removeRelayFromNetwork(BlockPos relay, World world){
|
||||
Network network = this.getNetworkFor(relay, world);
|
||||
if(network != null){
|
||||
network.changeAmount++;
|
||||
|
||||
//Setup new network (so that splitting a network will cause it to break into two)
|
||||
WorldData data = WorldData.get(world);
|
||||
data.laserRelayNetworks.remove(network);
|
||||
|
|
Loading…
Reference in a new issue