INetworkNode#onConnectionChange shouldn't be on the interface

This commit is contained in:
Raoul Van den Berge
2016-09-09 19:06:19 +02:00
parent b3c8629bed
commit 0bf24a5d13
2 changed files with 0 additions and 10 deletions

View File

@@ -37,15 +37,6 @@ public interface INetworkNode {
*/
void onDisconnected(INetworkMaster network);
/**
* Called when the connection state of this node changes.
* This is also called when redstone mode is updated, as opposed to {@link INetworkNode#onConnected(INetworkMaster)} and {@link INetworkNode#onDisconnected(INetworkMaster)}.
*
* @param network The network
* @param state The state
*/
void onConnectionChange(INetworkMaster network, boolean state);
/**
* @return If we are connected
*/

View File

@@ -81,7 +81,6 @@ public abstract class TileNode extends TileBase implements INetworkNode, IRedsto
this.network = null;
}
@Override
public void onConnectionChange(INetworkMaster network, boolean state) {
// NO OP
}