This commit is contained in:
Raoul Van den Berge
2016-06-25 02:54:52 +02:00
parent 0dddbbf328
commit 85121b7cae

View File

@@ -66,9 +66,10 @@ public abstract class TileSlave extends TileBase implements INetworkSlave, ISync
public void connect(World world, INetworkMaster network) { public void connect(World world, INetworkMaster network) {
if (network.canRun()) { if (network.canRun()) {
this.network = network; this.network = network;
this.network.addSlave(this);
this.connected = true; this.connected = true;
this.network.addSlave(this);
world.notifyNeighborsOfStateChange(pos, getBlockType()); world.notifyNeighborsOfStateChange(pos, getBlockType());
if (canSendConnectivityUpdate()) { if (canSendConnectivityUpdate()) {