INetworkNode#onConnectionChange shouldn't be on the interface
This commit is contained in:
@@ -37,15 +37,6 @@ public interface INetworkNode {
|
|||||||
*/
|
*/
|
||||||
void onDisconnected(INetworkMaster network);
|
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
|
* @return If we are connected
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ public abstract class TileNode extends TileBase implements INetworkNode, IRedsto
|
|||||||
this.network = null;
|
this.network = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onConnectionChange(INetworkMaster network, boolean state) {
|
public void onConnectionChange(INetworkMaster network, boolean state) {
|
||||||
// NO OP
|
// NO OP
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user